package com.yuchen.saas.park.api.dto.fire.fight;

import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * @author zhouhanwei
 * @create 2024/5/9 17:25
 */
@Data
public class FireFightDutyStaffSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;

    /**
     * 所属项目id
     */
    @ApiModelProperty(name = "projectId", value = "所属项目id")
    private Long projectId;
    /**
     * 组织用户id
     */
    @ApiModelProperty(name = "orgUserId", value = "组织用户id")
    private Long orgUserId;
    /**
     * 姓名
     */
    @ApiModelProperty(name = "orgUserName", value = "姓名")
    private String orgUserName;
    /**
     * 部门
     */
    @ApiModelProperty(name = "deptName", value = "部门")
    private String deptName;
    /**
     * 工号
     */
    @ApiModelProperty(name = "jobNo", value = "工号")
    private String jobNo;
    /**
     * 职务
     */
    @ApiModelProperty(name = "position", value = "职务")
    private String position;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "phone", value = "手机号")
    private String phone;
    /**
     * 人脸图片
     */
    @ApiModelProperty(name = "faceImg", value = "人脸图片")
    private String faceImg;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 下发状态（0：未下发，1：已下发，2：下载失败）
     */
    @ApiModelProperty(name = "status", value = "手机号")
    private Integer status;
}
