package com.crm.rely.backend.core.dto.custom;

import com.crm.rely.backend.core.dto.custom.file.CustomFileDto;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
public class CustomInfoDto {

    private Long id;

    private Long ibId;

    private String firstName;

    private String middle;

    private String lastName;

    private String nameEn;

    private String lang;

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

    /**
     * 区号
     */
    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 List<String> addressLines;

    private String taxNumber;

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

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

    private Integer status;

    private Integer applyRealStatus;
    private Date applyRealTime;

    private Integer loginNumberLimit;

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

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

    private Date addTime;

    private String headPicture;

    private String ibNo;

    private String agent;

    private Date lastTime;

    private String lastIp;

    private String addIp;

    private Long cId;

// <editor-fold desc="调查信息">


    private String level;

    private String employmentStatus;

    private String occupation;

    private String tradingObjectives;

    private String grossAnnualIncome;

    private String sourceFunding;

    private String totalNewWorth;

    private Integer experienceTradingDerivative;

    private Integer experienceTradingForex;

    private Integer derivativeProducts;

    private Integer experienceQualification;
    //</editor-fold>

    /**
     * 文件信息
     */
    private List<CustomFileDto> files;

    private Integer hide;

    /**
     * 是否代理 1是 0不是
     */
    private Integer isAgent;
    /**
     * 代理等级
     */
    private Long agentLevel;
    /**
     * 代理等级名称
     */
    private String agentLevelName;
    private String agentLevelEnName;

    /**
     * 佣金金额
     */
    private BigDecimal agentBalance;

    private BigDecimal balance;
    /**
     * 冻结佣金
     */
    private BigDecimal frozen;
    /**
     * 未结佣金
     */
    private BigDecimal unresolved;


    private Integer customType;

    private Long companyId;

    private String companyName;

    private String sourceCode;

    private String sourceName;

    private String sourceNameEn;
    private Integer comPoint;

    private Integer salesSettingLevel;

    private int payCommentValid;

    private BigDecimal dayWithdrawLimit;

    private Integer authStatus; //0:未认证（请求认证）
    private Integer uploadImage; //是否上传图片 0 否
    private Integer kycType;//3:ali

    private List<String> excludeShowLoginTypes;

    /**
     * 合作商用户的唯一ID
     */
    private String uniqueId;

    private Integer agentTransfer;

    private Integer loginNumberLimitMt5;

}
