package com.ym.mec.education.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.List;

/**
 * @program: mec
 * @description: 老师请假记录出参
 * @author: xw
 * @create: 2019-09-29 16:38
 */
@Data
@ApiModel(description = "老师请假记录出参")
@Accessors(chain = true)
public class TeacherLeaveRecordResp implements Serializable {

    @ApiModelProperty(value = "提交日期")
    private String commitDate;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    private String endDate;

    @ApiModelProperty(value = "请假类别")
    private String leaveCategory;

    @ApiModelProperty(value = "调整的课程")
    private List<AdjustCourse> adjustCourseList;

    @Data
    public static class AdjustCourse{
        @ApiModelProperty(value = "调整前上课时间")
        private String classDate;

        @ApiModelProperty(value = "调整后上课时间")
        private String classAdjustDate;

        @ApiModelProperty(value = "课程类型")
        private String courseType;

        @ApiModelProperty(value = "课程名称")
        private String courseName;
    }

    public AdjustCourse getAdjustCourse(){
        return new AdjustCourse();
    }

}
