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

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.constant.ManagerConstant;
import com.crm.rely.backend.core.constant.RegexpConstants;
import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: crm-backend
 * @description:
 * @author: houn
 * @create: 2019-07-30 17:01
 */
@Data
public class UserEntryUpdateStatusEntity {

    private Long id;

    /**
     * 1:未填写 2:待审核 3:hr已通过 4:hr核验失败
     */
    private Integer entryStatus;

    /**
     * 1:未核验 2:待核验 3:管理员核验通过 4:管理员核验失败
     */
    private Integer manageStatus;

    /**
     * 归属团队ID
     */
    private Long userId;

    private String userName;
    private String userIbNo;
    private String userEmail;
    private String referralCode;

    /**
     * 薪资账户
     */
    private String login;

    /**
     * 备注（失败原因）
     */
    private String entryDesc;

    private Long roleId;

    private Long groupId;

    private Long agentLevel;

    private String ibNo;

    private String ibNoTemp;

    private Integer valid;

    private Long pid;

    private Integer hide;

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

    private Long areaId;
    /**
     * 销售类型
     * 1:普通销售
     * 2：销售经理
     */
    private Integer salesType;
    /**
     * 团队长ID
     */
    private Long leaderId;

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

    /**
     * 工资账户
     */
    private Long salaryLogin;

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

    /**
     * 工资
     */
    private BigDecimal salary;

    private String googleEmail;

    /**
     * 入职时间
     */
    private Date entryDate;

    private String groupEmail;

}
