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

import lombok.Data;

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

/**
 * Created by max on 2020/6/16.
 */
@Data
public class CustomView {

    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 Integer loginNumberLimit;

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

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

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

    private String state;

    private String city;

    private String zipCode;

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

    private String taxNumber;

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

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

    private Integer status;

    private Integer applyRealStatus;

    private Date applyRealTime;

    private String approveDesc;

    private Date approveTime;

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

    private Date addTime;

    private String headPicture;

    private String ibNo;

    private String pIbNo;

    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 Integer hide;
    /**
     * 是否代理 1是 0不是
     */
    private Integer isAgent;
    /**
     * 代理等级
     */
    private Long agentLevel;
    /**
     * 代理等级名称
     */
    private String agentLevelName;
    private String agentLevelEnName;


    private BigDecimal balance;


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

    /**
     * unresolved
     */
    private BigDecimal unresolved;

    /**
     * 冻结佣金
     */
    private BigDecimal frozen;

    /**
     * 所有佣金
     */
    private BigDecimal allCommission;

    private Integer ibInvalid;
    /**
     * 申请代理的状态
     */
    private Integer agentApplyStatus;

    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 String excludeShowLoginTypes;

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

    private Integer centLoginNumberLimit;

    private Integer loginNumberLimitMt5;

}
