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-11 15:32:49
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckListUserAddCmd extends Command {
    @ApiModelProperty(value = "点检表id", name = "fireCheckId", required = true)
    @NotEmpty(message = "点检表id不能为空")
    private String fireCheckId;

    @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
    @NotNull(message = "企业id不能为空")
    private Long corpinfoId;

    @ApiModelProperty(value = "负责部门", name = "departmentId", required = true)
    @NotNull(message = "负责部门不能为空")
    private Long departmentId;

    @ApiModelProperty(value = "负责人", name = "userId", required = true)
    @NotNull(message = "负责人不能为空")
    private Long userId;

}

