package com.yonge.cooleshow.biz.dal.entity;



import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.yonge.cooleshow.biz.dal.enums.AuthStatusEnum;
import com.yonge.cooleshow.common.enums.EPayerType;
import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * @Author：haonan
 * @Date：2023/8/10 13:42
 * @Filename：TenantMember
 */


/**
 * 机构子账户表
 * 2023-08-10 13:36:39
 */
@Data
@ApiModel(" TenantMember-机构子账户表")
@TableName("tenant_member")
public class TenantMember implements Serializable {


    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("支付类型 ADAPAY,YEEPAY")
    @TableField(value = "payer_type_")
    private EPayerType payerType;


    @ApiModelProperty("支付渠道 ADAPAY,YEEPAY")
    @TableField(value = "payer_name_")
    private String payerName;

    @ApiModelProperty("商户ID")
    @TableField(value = "app_id_")
    private String appId;

    @ApiModelProperty("请求id")
    @TableField(value = "request_no_")
    private String requestNo;

    @ApiModelProperty("机构ID")
    @TableField(value = "tenant_id_")
    private Long tenantId;

    @ApiModelProperty("公司名称")
    @TableField(value = "name_")
    private String name;

    @ApiModelProperty("商户号")
    @TableField(value = "member_id_")
    private String memberId;

    @ApiModelProperty("商家类型（企业-ENTERPRISE，个体户-INDIVIDUAL）")
    @TableField(value = "merchant_Type_")
    private String merchantType;

    @ApiModelProperty("省份编号")
    @TableField(value = "prov_code_")
    private String provCode;

    @ApiModelProperty("城市编号")
    @TableField(value = "area_code_")
    private String areaCode;

    @ApiModelProperty("区编号")
    @TableField(value = "district_code_")
    private String districtCode;

    @ApiModelProperty("公司地址")
    @TableField(value = "address_")
    private String address;

    @ApiModelProperty("统一社会信用码")
    @TableField(value = "social_credit_code_")
    private String socialCreditCode;

    @ApiModelProperty("统一社会信用码有效期")
    @TableField(value = "social_credit_code_expires_")
    private String socialCreditCodeExpires;

    @ApiModelProperty("经营范围")
    @TableField(value = "business_scope_")
    private String businessScope;

    @ApiModelProperty("法人")
    @TableField(value = "legal_person_")
    private String legalPerson;


    @ApiModelProperty("法人证件人像面照片 请上传带有人像面的法人证件照片")
    @TableField(value = "legal_Licence_FrontUrl_")
    private String legalLicenceFrontUrl;

    @ApiModelProperty("法人证件非人像面照片")
    @TableField(value = "legal_Licence_BackUrl_")
    private String legalLicenceBackUrl;

    @ApiModelProperty("法人证件类型")
    @TableField(value = "legal_licence_type_")
    private String legalLicenceType;

    @ApiModelProperty("商户证件照片")
    @TableField(value = "licence_Url_")
    private String licenceUrl;

    @ApiModelProperty("开户许可证照片")
    @TableField(value = "open_Account_LicenceUrl_")
    private String openAccountLicenceUrl;

    @ApiModelProperty("法人身份证号")
    @TableField(value = "legal_cert_id_")
    private String legalCertId;

    @ApiModelProperty("身份证有效期")
    @TableField(value = "legal_cert_id_expires_")
    private String legalCertIdExpires;

    @ApiModelProperty("法人手机号")
    @TableField(value = "legal_mp_")
    private String legalMp;

    @ApiModelProperty("邮编")
    @TableField(value = "zip_code_")
    private String zipCode;

    @ApiModelProperty("企业银行卡号")
    @TableField(value = "card_no_")
    private String cardNo;

    @ApiModelProperty("银行编码")
    @TableField(value = "bank_code_")
    private String bankCode;

    @ApiModelProperty("结算账户id")
    @TableField(value = "settle_account_id_")
    private String settleAccountId;

    @ApiModelProperty("备注")
    @TableField(value = "memo_")
    private String memo;

    @ApiModelProperty("状态")
    @TableField(value = "status_")
    private AuthStatusEnum status;

    @ApiModelProperty("每月最大收款金额,0不限制")
    @TableField(value = "month_max_receipt_")
    private BigDecimal monthMaxReceipt;

    @ApiModelProperty("银行账户类型：1-对公；2-对私，如果需要自动开结算账户，本字段必填")
    @TableField(value = "bank_acct_type_")
    private String bankAcctType;

    @ApiModelProperty("银行卡对应的户名，如果需要自动开结算账户，本字段必填；若银行账户类型是对公，必须与企业名称一致")
    @TableField(value = "card_name_")
    private String cardName;

    @ApiModelProperty("联系人邮箱")
    @TableField(value = "contact_email_")
    private String contactEmail;

    @ApiModelProperty("联系人证件号码")
    @TableField(value = "contact_licence_no_")
    private String contactLicenceNo;

    @ApiModelProperty("联系人姓名")
    @TableField(value = "contact_name_")
    private String contactName;

    @ApiModelProperty("联系人手机号码")
    @TableField(value = "contact_mobile_")
    private String contactMobile;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time_")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time_")
    private Date updateTime;

}