package com.yonge.cooleshow.biz.dal.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 老师可排课时间表(TeacherFreeTime)表实体类
 *
 * @author zx
 * @since 2022-03-25 10:04:27
 */
@Data
@ApiModel(value = "teacher_free_time-老师可排课时间表")
public class TeacherFreeTime implements Serializable {
    @TableId(value = "id_", type = IdType.AUTO)
    @ApiModelProperty(value = "主键;")
    private Long id;

    @TableField("teacher_id_")
    @ApiModelProperty(value = "老师编号;")
    private Long teacherId;

    @TableField("skip_holiday_flag_")
    @ApiModelProperty(value = "是否跳过节假日1是0否")
    private Boolean skipHolidayFlag = false;

    @TableField("monday_")
    @ApiModelProperty(value = "周一;数据结构[{'startTime':'08:00:00'','endTime':'08:30:00'}];")
    private String monday;

    @TableField("tuesday_")
    @ApiModelProperty(value = "周二;")
    private String tuesday;

    @TableField("wednesday_")
    @ApiModelProperty(value = "周三;")
    private String wednesday;

    @TableField("thursday_")
    @ApiModelProperty(value = "周四;")
    private String thursday;

    @TableField("friday_")
    @ApiModelProperty(value = "周五;")
    private String friday;

    @TableField("saturday_")
    @ApiModelProperty(value = "周六;")
    private String saturday;

    @TableField("sunday_")
    @ApiModelProperty(value = "周日;")
    private String sunday;

    @TableField("recent_free_time_")
    @ApiModelProperty(value = "最近30天空闲标记")
    private Boolean recentFreeTime;

    @TableField("create_time_")
    @ApiModelProperty(value = "创建时间;")
    private Date createTime;

    @TableField("update_time_")
    @ApiModelProperty(value = "修改时间;")
    private Date updateTime;

}

