package com.ssj.service.conch.opentest.request;

import com.ssj.bean.common.framework.core.domain.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author Mount Liu
 * @date 2020/5/6
 */
public class GetQuestionV1Req extends BaseRequest {

    private static final long serialVersionUID = -3599279164102187917L;

    @NotBlank
    @ApiModelProperty(name = "grade", value = "年级", required = true)
    private String grade;

    @NotBlank
    @ApiModelProperty(name = "subject", value = "学科", required = true)
    private String subject;

    @NotBlank
    @ApiModelProperty(name = "version", value = "版本", required = true)
    private String version;

    @NotBlank
    @ApiModelProperty(name = "type", value = "类型(1:学前;2:单元;3期中)", required = true)
    private Integer type;

    @ApiModelProperty(name = "unit", value = "单元", required = true)
    private String unit;

    @ApiModelProperty(name = "semester", value = "学期", required = true)
    private String semester;

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
