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_chapter")
public class TrainingCourseChapterEntity extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;


    @Schema(description = "课程ID")
    @TableField("F_CourseId")
    private String courseId;

    @Schema(description = "章节名称")
    @TableField("F_Name")
    private String name;

    @Schema(description = "排序码")
    @TableField("F_SortCode")
    private Long SortCode;

    @Schema(description = "附件地址")
    @TableField("F_Annex")
    private String Annex;

    @Schema(description = "附件大小")
    @TableField("F_AnnexSize")
    private Long annexSize;

    @Schema(description = "附件名称")
    @TableField("F_AnnexName")
    private String annexName;

    @Schema(description = "时长（秒）")
    @TableField("F_Duration")
    private Integer duration;

    @Schema(description = "章节课件")
    @TableField(exist = false)
    private String content;

}