package com.cool.store.entity.wallet;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Table(name = "zxjp_open_bank_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OpenBankInfoDO {
    /**
     * 门店编号
     */
    @Column(name = "store_code")
    private String storeCode;

    /**
     * 门店id
     */
    @Column(name = "store_id")
    private String storeId;

    /**
     * 签约人名称
     */
    @Column(name = "signer_name")
    private String signerName;

    /**
     * 签约人身份证号码
     */
    @Column(name = "signer_id_card")
    private String signerIdCard;

    /**
     * 签约人手机号
     */
    @Column(name = "signer_phone")
    private String signerPhone;

    /**
     * 签约人身份证正面
     */
    @Column(name = "signer_id_card_front")
    private String signerIdCardFront;

    /**
     * 签约人身份证反面
     */
    @Column(name = "signer_id_card_back")
    private String signerIdCardBack;

    /**
     * 营业执照名字
     */
    @Column(name = "business_license_name")
    private String businessLicenseName;

    /**
     * 营业执照社会信用代码
     */
    @Column(name = "business_license_code")
    private String businessLicenseCode;

    /**
     * 营业执照照片
     */
    @Column(name = "business_license_photo")
    private String businessLicensePhoto;

    /**
     * 法人名称
     */
    @Column(name = "legal_name")
    private String legalName;

    /**
     * 法人身份证号码
     */
    @Column(name = "legal_id_card")
    private String legalIdCard;

    /**
     * 法人身份证有效期字段
     */
    @Column(name = "legal_id_card_expire_time")
    private String legalIdCardExpireTime;

    /**
     * 法人手机号
     */
    @Column(name = "legal_phone")
    private String legalPhone;

    /**
     * 法人是否签约人
     */
    @Column(name = "legal_is_signer")
    private Integer legalIsSigner;

    /**
     * 法人身份证正面
     */
    @Column(name = "legal_id_card_front")
    private String legalIdCardFront;

    /**
     * 法人身份证反面
     */
    @Column(name = "legal_id_card_back")
    private String legalIdCardBack;

    /**
     * 结算卡
     */
    @Column(name = "settlement_card")
    private String settlementCard;

    /**
     * 开户支行名称
     */
    @Column(name = "bank_branch_name")
    private String bankBranchName;

    /**
     * 开户支行编号
     */
    @Column(name = "bank_branch_code")
    private String bankBranchCode;

    /**
     * 银行预留手机号
     */
    @Column(name = "bank_reserved_phone")
    private String bankReservedPhone;

    /**
     * 来源，开通流程传1，其他0
     */
    @Column(name = "source")
    private Integer source;

    /**
     * 法人银行卡
     */
    @Column(name = "legal_bank_card")
    private String legalBankCard;

    /**
     * 法人开户支行名称
     */
    @Column(name = "legal_bank_branch_name")
    private String legalBankBranchName;
    
    /**
     * 法人开户支行编号
     */
    @Column(name = "legal_bank_branch_code")
    private String legalBankBranchCode;
    
    /**
     * 银行预留手机号
     */
    @Column(name = "legal_bank_reserved_phone")
    private String legalBankReservedPhone;

    /**
     * 法人签约人关系 myself-本人，friend-朋友，具体参考枚举
     */
    @Column(name = "legal_signer_relation")
    private String legalSignerRelation;
}