package com.zcloud.fire.check.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-12-12 13:45:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordUserUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireRecordUserId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String fireRecordUserId;
    @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
    @NotNull(message = "企业id不能为空")
    private Long corpinfoId;
    @ApiModelProperty(value = "检查表id", name = "fireCheckId", required = true)
    @NotEmpty(message = "检查表id不能为空")
    private String fireCheckId;
    @ApiModelProperty(value = "检查记录表id", name = "fireRecordId", required = true)
    @NotEmpty(message = "检查记录表id不能为空")
    private String fireRecordId;
    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    @NotNull(message = "部门id不能为空")
    private Long departmentId;
    @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
    @NotEmpty(message = "部门名称不能为空")
    private String departmentName;
    @ApiModelProperty(value = "人员id", name = "userId", required = true)
    @NotNull(message = "人员id不能为空")
    private Long userId;
    @ApiModelProperty(value = "人员名称", name = "userName", required = true)
    @NotEmpty(message = "人员名称不能为空")
    private String userName;
}

