package thyyxxk.webserver.entity.targetmanagement;

import lombok.Data;

import java.util.List;

/**
 * @Description: 指标字典树
 * @Author: hsh
 * @CreateTime: 2023-06-02  10:32
 * @Version: 1.0
 */
@Data
public class TargetDictTree {

    /** 节点ID */
    private String id;

    /** 父节点ID：顶级节点暂时为 B0 */
    private String pid;

    /** 节点名称 */
    private String label;

    /** 序号 */
    private String sort;

    /** 科室id */
    private String deptCode;

    /** 是否叶子节点 */
    private String isLeaf;

    /** 子节点 */
    private List<TargetDictTree> children;

    public TargetDictTree(String id, String pid, String label, String sort, String deptCode, String isLeaf) {
        this.id = id;
        this.pid = pid;
        this.label = label;
        this.sort = sort;
        this.deptCode = deptCode;
        this.isLeaf = isLeaf;
    }

}
