package vip.xiaonuo.disk.vo.classhour;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Getter
@Setter
public class ClassHourVo {
    /** 主键 */
    @TableId
    @ApiModelProperty(value = "主键", position = 1)
    private Integer id;

    /** 开始时间 */
    @ApiModelProperty(value = "开始时间", position = 2)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty(value = "结束时间", position = 3)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    /** 班级id */
    @ApiModelProperty(value = "班级id", position = 4)
    private Long classId;

    @ApiModelProperty(value = "班级名称", position = 4)
    private String className;

    /** 课程id */
    @ApiModelProperty(value = "课程id", position = 5)
    private String courseId;

    /** 课程名称 */
    @ApiModelProperty(value = "课程名称", position = 5)
    private String courseName;


    /** 备注 */
    @ApiModelProperty(value = "备注", position = 6)
    private String remark;

    /** DELETE_FLAG */
    @ApiModelProperty(value = "DELETE_FLAG", position = 7)
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** UPDATE_TIME */
    @ApiModelProperty(value = "UPDATE_TIME", position = 8)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** CREATE_TIME */
    @ApiModelProperty(value = "CREATE_TIME", position = 9)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** CREATE_USER */
    @ApiModelProperty(value = "CREATE_USER", position = 10)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** UPDATE_USER */
    @ApiModelProperty(value = "UPDATE_USER", position = 11)
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
}
