package com.xinelu.manage.vo.trainingorderitemdirectory;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @author ljh
 * @version 1.0
 * Create by 2023/4/26 10:36
 */
@Data
public class TrainingOrderItemDirectoryInfoVO implements Serializable {
    private static final long serialVersionUID = -1196792067821850227L;

    /**
     * 培训项目表id
     **/
    private Long trainingItemId;

    /**
     * 培训订单主表id
     **/
    private Long trainingOrderId;

    /**
     * 培训项目类型，视频学习：VIDEO_LEARNING，图文学习：GRAPHIC_LEARNING，直播课程：LIVE_COURSES，线下培训：OFFLINE_TRAINING，学习培训项目组：LEARNING_ITEM_GROUP',
     **/
    private String trainingItemType;

    /**
     * 培训项目章节表id
     **/
    private Long trainingItemDirectoryId;

    /**
     * 订单编号
     **/
    private String trainingOrderNo;

    /**
     * 未观看：NOT_WATCHED，已观看：WATCHED，已看完：FINISHED_READING
     **/
    private String itemDirectoryWatchStatus;

    /**
     * 护理站id
     */
    private Long nurseStationId;

    /**
     * 护理站人员id
     */
    private Long nurseStationPersonId;

    /**
     * 护理站人员名称
     */
    private String nursePersonName;

    /**
     * 订单状态，待付款：WAIT_PAY，已付款：PAY，退款中：WAIT_REFUND，已退款：REFUNDED，已取消：CANCEL
     */
    private String trainingOrderStatus;

    /**
     * 观看日期，格式：yyyy-MM-dd
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate watchDate;

    /**
     * 培训项目观看时间点，格式：HH:mm:ss，视频学习类型使用
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime watchTime;
}