package com.ssj.service.kmt.exercisesys.request;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Pattern;

/**
 * @author Mount Liu
 * @date 2020/5/11
 */
public class CheckedExerciseBookReq extends PageReq {

    private static final long serialVersionUID = 6011152528578070581L;

    @ApiModelProperty(name = "teacherName", value = "老师名字", required = true)
    private String teacherName;

    @ApiModelProperty(name = "exerciseName", value = "练习册名字", required = true)
    private String exerciseName;

    @Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}")
    @ApiModelProperty(name = "beginTime", value = "开始日期(yyyy-MM-dd)", required = true)
    private String beginTime;

    @Pattern(regexp = "\\d{4}-\\d{2}-\\d{2}")
    @ApiModelProperty(name = "endTime", value = "结束日期(yyyy-MM-dd)", required = true)
    private String endTime;

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getExerciseName() {
        return exerciseName;
    }

    public void setExerciseName(String exerciseName) {
        this.exerciseName = exerciseName;
    }
}
