package cn.iocoder.yudao.module.server.controller.admin.policycommunications.vo.analysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 部门列表 Response VO")
@Data
public class DepartmentListRespVO {
    
    @Schema(description = "部门列表")
    private List<DepartmentItem> departmentList;
    
    @Data
    @Schema(description = "部门项")
    public static class DepartmentItem {
        @Schema(description = "部门ID")
        private Long id;
        
        @Schema(description = "部门名称")
        private String name;
        
        @Schema(description = "上级部门ID")
        private Long parentId;
        
        @Schema(description = "排序")
        private Integer sort;
    }
}