package com.qmth.distributed.print.business.bean.params.analyze;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 分析批次试卷新增参数
 * @Author: CaoZixuan
 * @Date: 2022-05-26
 */
public class GradeBatchPaperParam {
    @ApiModelProperty(value = "批次id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotNull(message = "请选择批次")
    @Range(min = 1L, message = "请选择批次时刻")
    private Long batchId;

    @ApiModelProperty(value = "批次id")
    @NotNull(message = "请选择试卷")
    private List<AbleAnalyzePaperParam> ableAnalyzePaperList;

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public List<AbleAnalyzePaperParam> getAbleAnalyzePaperList() {
        return ableAnalyzePaperList;
    }

    public void setAbleAnalyzePaperList(List<AbleAnalyzePaperParam> ableAnalyzePaperList) {
        this.ableAnalyzePaperList = ableAnalyzePaperList;
    }
}
