package com.crm.rely.backend.core.dto.user.info;

import com.crm.rely.backend.core.dto.user.role.UserNodeDisplayDto;
import lombok.Data;

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

@Data
public class UserInfoDto {

    private Long id;

    private String name;

    private String email;

    private String firstName;

    private String middle;

    private String lastName;

    private String country;

    private Long roleId;

    private String roleName;

    private String pIbNo;

    private Long pid;

    private Long cId;

    private Long customId;

    private String ibNo;

    /**
     * 代理等级ID
     */
    private Long agentLevel;

    private String agentLevelName;
    /**
     * 用户组ID
     */
    private Long groupId;

    private String groupName;

    private String groupEnName;
    /**
     * 佣金模板ID
     */
    private Long pointId;

    private String pointName;
    /**
     * 返佣类型
     * 1：交易品种
     */
    private Integer pointType;
    /**
     * 销售ID
     */
    private Long salesId;
    /**
     * 佣金余额
     */
    private Float balance;
    /**
     * 未结佣金余额
     */
    private Float unresolved;
    /**
     * 冻结佣金
     */
    private Float frozen;
    /**
     * 所有佣金
     */
    private Float allCommission;
    /**
     * MT4佣金账户
     */
    private Long mt4Account;
    /**
     * MT5佣金账户
     */
    private Long mt5Account;
    /**
     * 内部数据权限代码
     */
    private String stamp;
    /**
     * 外佣
     */
    private Float commission;

    private Long departmentId;

    private String departmentName;

    private Date thisTime;

    private String thisIp;

    private String thisAddress;

    private Date lastTime;

    private String lastIp;

    private String lastAddress;

    private Integer valid;
    private Integer verified;
    private Integer isAdmin;

    private List<UserNodeDisplayDto> display;

    private String roteCode;

    private List<String> excludeShowLoginTypes;

    private Integer merchantId;

}
