package com.fs.course.vo.newfs;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.course.config.CourseConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel
public class FsUserCourseVideoLinkDetailsVO {

    @ApiModelProperty(value = "课程视频和题库详情")
    private FsUserCourseVideoDetailsVO courseVideoDetails;

    @ApiModelProperty(value = "课程相关配置信息（默认的）")
    private CourseConfig courseConfig;

    @ApiModelProperty(value = "是否完课,1-是，0-否")
    private Integer isFinish;

    @ApiModelProperty(value = "看课时长")
    private Long playDuration;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDateTime;
    private boolean isRang;

    @ApiModelProperty(value = "视频提示时间-第一阶段")
    private Long tipsTime;

    @ApiModelProperty(value = "视频提示时间-第二阶段")
    private Long tipsTime2;
    //视频是否有红包  1有  0无
    private Integer isRedPackage;
}
