package com.ruoyi.test.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
//@TableName("knowledge_tree")
public class KnowledgeTree {

  private long id;
  private long pid;
  private String content;
  private String grade;
  private String subject;
  //获取下一级元素
  private List<KnowledgeTree> list;

}
