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.util.Date;

@Entity
@Table(name = "qkj_tqcourse_course")
@Data
@ApiModel
public class QkjTqcourseCourse implements Serializable {



    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    @ApiModelProperty(value = "id")
    private Long id;

    @Column(name = "tqcourse_id")
    @ApiModelProperty(value = "精品课id")
    private Integer tqcourseId;

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

    @Column(name = "details")
    @ApiModelProperty(value = "详情")
    private String details;

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

    @Column(name = "vod_length")
    @ApiModelProperty(value = "时长，单位：秒")
    private Integer vodLength;

    @Column(name = "total_comments")
    @ApiModelProperty(value = "总评价数")
    private Integer totalComments;

    @Column(name = "sort_num")
    @ApiModelProperty(value = "排序(倒序)")
    private Integer sortNum;

    @Column(name = "share_title")
    @ApiModelProperty(value = "分享标题")
    private String shareTitle;

    @Column(name = "share_desc")
    @ApiModelProperty(value = "分享描述")
    private String shareDesc;

    @Column(name = "share_pic")
    @ApiModelProperty(value = "分享导图")
    private String sharePic;

    @Column(name = "status")
    @ApiModelProperty(value = "状态，0-草稿，1-上线， 2-已删除")
    private Integer status;

    @Column(name = "is_trailer")
    @ApiModelProperty(value = "是否为试看课时  0：否   1：是")
    private Integer isTrailer;

    @Column(name = "vod_id")
    @ApiModelProperty(value = "视频库ID")
    private Integer vodId;

    @Column(name = "uploader")
    @ApiModelProperty(value = "上传者")
    private String uploader;

    @Column(name = "upload_time")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;
}
