TreeVo.java 496 Bytes
Newer Older
zzrdark committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
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;
    }
}