package jnpf.entity.training;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jnpf.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * 训练课程
 *
 * @author yanglei
 * @since 2023-07-22
 */
@Data
@Accessors(chain = true)
@TableName("ftb_training_course")
public class TrainingCourseEntity extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    @Schema(description = "课程名称")
    @TableField("F_Name")
    private String name;

    @Schema(description = "课程类型（1视频，2音频，3图文）")
    @TableField("F_Type")
    private Integer type;

    @Schema(description = "课程封面")
    @TableField("F_Cover")
    private String cover;

    @Schema(description = "副标题")
    @TableField("F_Subtitle")
    private String subtitle;

    @Schema(description = "课程亮点")
    @TableField("F_Highlights")
    private String highlights;

    @Schema(description = "浏览量")
    @TableField("F_Views")
    private Integer views;

    @Schema(description = "章节数")
    @TableField("F_ChapterNumber")
    private Integer chapterNumber;

    @Schema(description = "上下架（0下架，1上架）")
    @TableField("F_IsGrounding")
    private Integer isGrounding;

}