package com.codvision.auth.entity.vo;

import com.codvision.auth.entity.Org;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <p>
 * 组织信息展示信息
 * </p>
 *
 * @author lingee
 * @since 2023-11-10
 */
@Data
@ApiModel(value = "OrgVO", description = "组织信息展示信息")
public class OrgVO extends Org {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性名称")
    private String orgPropertyName;

    @ApiModelProperty(value = "属性图标")
    private String orgPropertyIcon;

    @ApiModelProperty(value = "行政区划编码长度")
    private Integer codeLength;

    @ApiModelProperty(value = "子组织树")
    private List<OrgVO> children = new ArrayList<>();
}
