package com.yeejoin.equipmanage.common.vo;

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

import java.util.List;

/**
 * @author DELL
 */
@Data
@ApiModel("单位区域树")
public class UnitAreaTreeVo {

    @ApiModelProperty("id主键")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty(value = "区域编码")
    private String code;

    @ApiModelProperty("区域类型")
    private String type;

    @ApiModelProperty("机构编码")
    private String bizOrgCode;

    @ApiModelProperty("机构编码")
    private String bizOrgName;

    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("children")
    private List<UnitAreaTreeVo> children;


}
