package jnpf.entity.training;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import jnpf.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;

/**
 *
 * 知识库
 *
 * @author yanglei
 * @since 2023-07-22
 */
@Data
@Accessors(chain = true)
@TableName("ftb_training_knowledge_base")

public class TrainingKnowledgeBaseEntity extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;


    @Schema(description = "分类名称", maxLength = 50)
    @TableField("F_Name")
    @Size(max = 50)
    private String name;

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

    @Schema(description = "岗位id集合")
    @TableField(exist = false)
    private List<String> positionIdList;
}