package com.cirle.scientific.dto.course;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CourseAppListDTO implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面图")
    private String coverImg;

    @ApiModelProperty(value = "专区类型，1-理论学习，2-技能学习")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private Integer sortNum;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    @ApiModelProperty(value = "是否看完本课程，0：未看完 1：已看完")
    private Integer finishCourse;

    @ApiModelProperty(value = "观看时长")
    private Integer currentTime;

    @ApiModelProperty(value = "总时长")
    private Integer duration;

    @ApiModelProperty(value = "观看时长")
    private String currentTimeString;

    @ApiModelProperty(value = "总时长")
    private String durationString;

    @ApiModelProperty(value = "是否学习完成 0:未完成 1:已完成")
    private Integer studyAccomplish;

}
