package com.crm.rely.backend.model.entity.custom.info;

import com.crm.rely.backend.core.dto.custom.file.CustomFileDto;
import com.crm.rely.backend.core.entity.custom.BaseCustomInfoEntity;
import com.crm.rely.backend.model.entity.user.info.UserInfoEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @program: crm-backend
 * @description: 个人登录账号
 * @author: houn
 * @create: 2022-02-21 16:02
 */
@Data
public class CustomInfoEntity extends BaseCustomInfoEntity {
    private UserInfoEntity ibInfo;


    private String name;

    private String firstName;

    private String middle;

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

    private String lang;

    private Long cId;
    /**
     * 邮箱(唯一)
     */
    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 String addressLine;

    private String taxNumber;


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


    private Date lastTime;

    private String lastIp;

    private String lastAddress;
    /**
     * 代理ID
     */
    private Long agentId;

    private Integer status;
    private List<String> addressLines;

    private Integer applyRealStatus;
    private Date applyRealTime;
    /**
     * 1:课程学习 2模拟考核 3:公司实盘考核 4:资管账户
     */
    private Integer position;

    private List<CustomFileDto> files;

    private String bankUname;

    private String bankCardNum;

    private String bankName;

    private String bankBranchName;

    private String bankAddr;

    private String swiftCode;

    private String bankCode;

    private String bankFront;

    private String bankBack;

    private Long ibId;

    private Integer payStatus;

    private String sno;
}
