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 UploadPersonalCheckReportDTO implements Serializable {
    private static final long serialVersionUID = 5420704234940567343L;

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

    /**
     * 学生id
     */
    @NotNull(message = "学生id不能为空！", groups = {Insert.class})
    private Long studentId;

    /**
     * 学生姓名
     */
    @NotBlank(message = "学生姓名不能为空！", groups = {Insert.class})
    private String studentName;

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

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