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

import lombok.Data;

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

/**
 * @program: crm-backend
 * @description:
 * @author: houn
 * @create: 2019-07-30 18:06
 */
@Data
public class UserInfoSearchDto {

    private Long id;

    private String username;

    private String name;

    private String email;

    private Long roleId;

    private Long departmentId;

    private String roleName;

    private Long pid;

    private Long cId;

    private Long customId;

    private String ibNo;
    /**
     * 代理等级ID
     */
    private Long agentLevel;
    private String agentLevelName;
    private String agentLevelEnName;
    /**
     * 用户组ID
     */
    private Long groupId;

    private String groupName;
    private String groupEnName;


    private Integer valid;

    private Date lastTime;

    private String lastIp;

    private String lastAddress;

    /**
     * 是否ip限制 0否 1是
     */
    private Integer ipLimit;
    /**
     * 限制ip 如果不为空和null 则只有这个ip才能登录
     */
    private String limitIp;

    private Date addTime;

    private String selectLoginTypes;

    private String excludeLoginTypes;

    private Long selectGroupType;

    private Long defaultGroupType;

    private Long areaId;

    private String areaName;
    /**
     * 销售类型
     * 1:普通销售
     * 2：销售经理
     */
    private Integer salesType;

    private Integer verified;

    private Integer secretKey;

    /**
     * 团队长ID
     */
    private Long leaderId;

    private String leaderName;
    /**
     * 销售绩效规则ID
     */
    private Long salesCommissionRuleId;

    private String salesRuleName;
    /**
     * 工资账户
     */
    private Long salaryLogin;
    /**
     * 工资账户平台
     */
    private String salaryPlatform;

    private String ibNoTemp;

    /**
     * 入职时间
     */
    private Date entryDate;
    /**
     * 在职类型
     * 1. 试用期
     * 2. 正式员工
     */
    private Integer entryStatus;
    /**
     * 关联账号ID
     */
    private Long attachId;

    private String attachNo;

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

    private String countryName;

    private String countryEnName;

    private List<String> excludeShowLoginTypes;
}
