package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseApproveTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: houn
 */
@Data
@Entity
@Table(name = "custom_info")
public class CustomInfoTable extends BaseApproveTable {

    private String firstName;

    private String middle;

    private String lastName;
    private String nameEn;
    private String headPicture;

    private String nationality;

    private String lang;
    /**
     * 邮箱(唯一)
     */
    private String email;

    /**
     * 密码
     */
    private String password;

    /**
     * 区号
     */
    private String areaCode;


    /**
     * 手机(唯一)
     */
    private String phone;

    /**
     * 性别 1:男 2:女
     */
    private Integer gender;

    /**
     * 出生日期
     */
    private Date birth;

    /**
     * 身份证件号 身份证 护照等
     */
    private String identity;

    /**
     * 国家
     */
    private String country;

    /**
     * 国家中文名称
     */
    private String countryName;

    /**
     * 国家英文名称
     */
    private String countryEnName;

    private String state;

    private String city;

    private String zipCode;

    private Integer loginNumberLimit;

    /**
     * 详细地址
     */
    private String addressLine;

    private String taxNumber;

    /**
     * 是否验证邮箱 0:否 1:是
     */
    private Integer checkEmail;

    /**
     * 是否验证手机号码 0:否 1:是
     */
    private Integer checkPhone;


    /**
     * 是否禁止登陆
     */
    private Integer valid;

    /**
     * 是否允许申请代理 0允许 1不允许
     */
    private Integer ibInvalid;

    private Date lastTime;

    private String lastIp;

    private String lastAddress;

    private Integer hide;
    /**
     * 代理ID
     */
    private Long agentId;

    private Float comPoint;

    private Integer applyRealStatus;

    private Date applyRealTime;

    private Long cId;

    private Long ibId;

    private Integer customType;

    private Long companyId;

    private String companyName;

    private String sourceCode;

    private String sourceName;

    private String sourceNameEn;

    private Integer salesSettingLevel;

    private Integer dailyConfirmationValid;
    private Integer permissionDisplay;

    private Long areaId;

    private BigDecimal balance;

    private int payCommentValid;
    /**
     * 通知邮箱，逗号分割
     */
    private String noticeEmail;

    private BigDecimal dayWithdrawLimit;

    private Integer depositFeeReduction;
    private Integer withdrawFeeReduction;

    private String cardType;

    private Integer authStatus;

    private String applicantId;

    private String serial;

    private String excludeShowLoginTypes;

    private String kycVerifyUrl;

    /**
     * 域名
     */
    private String domainName;

    private Integer centLoginNumberLimit;

    private String endUserId;
    private String externalUserId;
    private Integer cardApplyReduction;

    private Integer loginNumberLimitMt5;

    private String name;

}
