package jnpf.entity.cultivate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperBaseEntity;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("ftb_cultivate_teaching_skill")
public class TeachingSkill extends SuperBaseEntity.SuperCUDBaseEntity<String> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 分类id
     */
    @TableField("F_CategoryId")
    private String categoryId;

    /**
     * 技能点名称
     */
    @TableField("F_Name")
    private String name;

    /**
     * 技能点描述
     */
    @TableField("F_Description")
    private String description;

    /**
     * 排序
     */
    @TableField("F_Sort")
    private Integer sort;

    /**
     * 模拟数据视频地址
     */
    @TableField("F_MockVideoInfo")
    private String mockVideoInfo;

    public TeachingSkill(String id, String categoryId, String name, String description, Integer sort, String userId) {
        super.setId(id);
        this.categoryId = categoryId;
        this.name = name;
        this.description = description;
        this.sort = sort;
        super.setCreatorTime(new Date());
        super.setCreatorUserId(userId);
    }
}