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-11-28 10:32:29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckListItemUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireCheckListItemId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String fireCheckListItemId;
    @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 = "fireDeviceId", required = true)
    @NotEmpty(message = "消防器材id不能为空")
    private String fireDeviceId;
}

