package com.ruoyi.course.domain.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 上课记录
 * @author ：zhangbaoyu
 * @date ：Created in 2020/10/2 20:33
 */
@Data
public class RespClaTime {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseTimeId;

    private Long claId;

    private String claName;

    private Long courseId;

    private String courseName;

    private Long teacherId;

    private String staffName;

    /**
     * 状态 1:待上课 2:已上课
     */
    private String status;

    private String claDate;

    private String startTime;

    private String endTime;

    private String realClaDate;

    private String realStartTime;

    private String realEndTime;

    // 预约
    private Integer bookAttendCnt;

    // 实到
    private Integer realAttendCnt;


    private Integer outCnt;

    private BigDecimal payHour;

    private BigDecimal payTotalHour;

    private BigDecimal payTotalFee;

    private String roomName;

    private String classTheme;

    private String memo;

    // 最后变更时间  记录上课时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastUpdateTime;
    // 记录人
    private String lastUpdateUserName;
}
