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 org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-11-26 10:12:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckStandardImportCmd implements Serializable {

    @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 = "file", required = true)
    @NotNull(message = "文件不能为空")
    private MultipartFile file;

}

