package yangtz.cs.liu.campus.vo.time;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import yangtz.cs.liu.campus.domain.time.SchoolTimeTable;
import yangtz.cs.liu.campus.vo.Course.SchoolCourseVO;

import java.util.Date;
import java.util.List;

@Data
public class TableVO {
    //schoolTimeDetail id
    private Long id;

    /** 序号 */
    private Integer sortId;

    /** 序号名称 */
    private String sortName;

    /** 开始时间 */
    @JsonFormat(pattern = "HH:mm")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "HH:mm")
    private Date endTime;

    /** 备注 */
    private String remark;

    //星期一到星期日，本节次都有哪些课
    private SchoolCourseVO monday;
    private SchoolCourseVO tuesday;
    private SchoolCourseVO wednesday;
    private SchoolCourseVO thursday;
    private SchoolCourseVO friday;
    private SchoolCourseVO saturday;
    private SchoolCourseVO sunday;

}
