package thyyxxk.webserver.entity.examinations.covidexam;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class QueryCovidExamParam {
    @NotBlank(message = "开始时间不能为空。")
    private String start;
    @NotBlank(message = "结束时间不能为空。")
    private String end;
    // 1:核酸检测 2:抗体检测
    @NotNull(message = "检测类型不能为空。")
    private Integer type;
    @NotNull(message = "当前页码不能为空。")
    private Integer currentPage;
    @NotNull(message = "单页数据量不能为空。")
    private Integer pageSize;
}
