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

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserResignAddEntity extends BaseAddEntity {

    /**
     * 离职人用户id
     */
    @NotNull(message = Constants.USER_NOT_EXIST_ERROR)
    private Long userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 编号
     */
    private String ibNo;

    /**
     * 1:待审核 2:已通过 3:核验失败
     */
    private Integer resignStatus;

    /**
     * 审核时间
     */
    private Date auditTime;

    /**
     * 销售上级ID
     */
    private Long pid;

}
