package com.njcn.process.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/3/9  14:00【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class DeptSubstationVO {
    @ApiModelProperty(name = "id",value = "id")
    private String id;

    @ApiModelProperty(name = "pid",value = "父级id")
    private String pid;

    @ApiModelProperty(name = "name",value = "名称")
    private String name;

    @ApiModelProperty(name = "code",value = "单位编号")
    private String code;

    @ApiModelProperty(name = "disabled",value = "是否可以选择，电站不用塞，部门塞disabled: true")
    private boolean disabled;
    @ApiModelProperty(name = "flag",value = "前端标志")
    private boolean flag;



    @ApiModelProperty(name = "children",value = "子级")
    private List<DeptSubstationVO> children = new ArrayList<> ();
}
