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 org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
public class UserHireAddEntity extends BaseAddEntity {
    /**
     * 姓名
     */
    private String hireName;

    /**
     * 名
     */
    @NotNull(message = Constants.NAME_NOT_NULL)
    @NotBlank(message = Constants.NAME_NOT_NULL)
    private String firstName;

    /**
     * 姓
     */
    @NotNull(message = Constants.NAME_NOT_NULL)
    @NotBlank(message = Constants.NAME_NOT_NULL)
    private String lastName;

    /**
     * 1:未联系 2:面试中(联系中) 3:已通过(通过时选择归属团队) 4:已拒绝
     */
    private Integer hireStatus;

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

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

    /**
     * 区号
     */
    private String callingCode;

     /**
     * 联系电话
     */
    private String phoneNumbe;

    /**
     * 简历文件地址
     */
    private String hireFile;

    /**
     * 推荐码
     */
    private String referralCode;

    /**
     * 电报ID
     */
    private String telegramId;

}
