package com.xinyilu.system.domain.dto;

import com.xinyilu.common.custominterface.Insert;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

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

/**
 * @Description 幼儿园检测报告上传实体类对象
 * @Author 纪寒
 * @Date 2022-10-19 09:40:41
 * @Version 1.0
 */
@Data
public class UploadKindergartenCheckReportDTO implements Serializable {
    private static final long serialVersionUID = 5420704234940567343L;

    /**
     * 检测报告二进制文件
     */
    @NotNull(message = "幼儿园检测报告文件不能为空！", groups = {Insert.class})
    private MultipartFile kindergartenFile;

    /**
     * 幼儿园id
     */
    @NotNull(message = "幼儿园id不能为空！", groups = {Insert.class})
    private Long kindergartenId;

    /**
     * 幼儿园名称
     */
    @NotBlank(message = "幼儿园名称不能为空！", groups = {Insert.class})
    private String kindergartenName;

    /**
     * 批次编号
     */
    @NotBlank(message = "批次编号不能为空！", groups = {Insert.class})
    private String batchCode;

    /**
     * 审核状态
     */
    @NotNull(message = "审核状态不能为空！", groups = {Insert.class})
    private Integer checkStatus;
}
