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-26 10:12:14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckStandardAddCmd extends Command {
    @ApiModelProperty(value = "企业id", name = "corpinfoId")
    private Long corpinfoId;

    @ApiModelProperty(value = "消防器材类型", name = "fireDeviceType", required = true)
    @NotEmpty(message = "消防器材类型不能为空")
    private String fireDeviceType;

    @ApiModelProperty(value = "消防器材类型名称", name = "fireDeviceTypeName", required = true)
    @NotEmpty(message = "消防器材类型名称不能为空")
    private String fireDeviceTypeName;

    @ApiModelProperty(value = "消防器材名称", name = "deviceName", required = true)
    @NotEmpty(message = "消防器材名称不能为空")
    private String deviceName;

    @ApiModelProperty(value = "单位名称", name = "employer", required = true)
    @NotEmpty(message = "单位名称不能为空")
    private String employer;

    @ApiModelProperty(value = "检查项", name = "fireCheckStandardItem", required = true)
    @NotEmpty(message = "检查项不能为空")
    private String fireCheckStandardItem;

}

