package cn.iocoder.yudao.module.knowledge.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

import java.util.List;


/**
 * 题库表
 *
 * @author admin
 * @since 1.0.0 2024-04-16
 */

@Data
@TableName(value = "t_question_bank",autoResultMap = true)
@Schema(description = "题库类")
public class TQuestionBank extends BaseDO {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "父id", example = "1")
    private Long parentId;

    @Schema(description = "目录名称", example = "dwd")
    private String name;

    private Integer sequence;
    private List<Long> idChain;

}
