
package com.cirle.scientific.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;

@Entity
@Table(name = "qkj_tqcourse_app")
@Data
@ApiModel
public class QkjTqcourseApp implements Serializable {
    private static final long serialVersionUID = 7044978507046631905L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @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-上线， 2-已删除")
    private Integer status = 0;

    @ApiModelProperty(value = "视频时长")
    private Integer vodLength;

    @ApiModelProperty(value = "课程介绍")
    private String courseDetails;

    @ApiModelProperty(value = "授课专家")
    private String expertsDetails;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
