package com.mx.cneeds.common.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName TreeVo
 * @Author zzrdark
 * @Date 2020-03-12 18:32
 * @Description TODO
 **/
@Data
public class TreeVo implements Serializable {
    private Long id;
    private String label;
    private Long pid;
    private List<TreeVo> children;

    public TreeVo(Long id, String label, Long pid) {
        this.id = id;
        this.label = label;
        this.pid = pid;
    }
}
