package com.template.model.vo;

import lombok.*;

import java.util.List;

/**
 * @Author: binguo
 * @Date: 2023/12/14 星期四 9:20
 * @Description: com.template.model.vo
 * @Version: 1.0
 */
@Data
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentTreeVo {
    /**
     * 数据ID
     */
    private int id;

    /**
     * 父级ID
     */
    private int parentId;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 子级部门
     */
    private List<DepartmentTreeVo> children;
}
