TargetDictTree.java 912 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package thyyxxk.webserver.entity.targetmanagement;
  2. import lombok.Data;
  3. import java.util.List;
  4. /**
  5. * @Description: 指标字典树
  6. * @Author: hsh
  7. * @CreateTime: 2023-06-02 10:32
  8. * @Version: 1.0
  9. */
  10. @Data
  11. public class TargetDictTree {
  12. /** 节点ID */
  13. private String id;
  14. /** 父节点ID:顶级节点暂时为 B0 */
  15. private String pid;
  16. /** 节点名称 */
  17. private String label;
  18. /** 序号 */
  19. private String sort;
  20. /** 科室id */
  21. private String deptCode;
  22. /** 是否叶子节点 */
  23. private String isLeaf;
  24. /** 子节点 */
  25. private List<TargetDictTree> children;
  26. public TargetDictTree(String id, String pid, String label, String sort, String deptCode, String isLeaf) {
  27. this.id = id;
  28. this.pid = pid;
  29. this.label = label;
  30. this.sort = sort;
  31. this.deptCode = deptCode;
  32. this.isLeaf = isLeaf;
  33. }
  34. }