package com.tykj.workflowcore.user.pojo.vo.uservo;

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

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrgVo {
    @ApiModelProperty(value = "机构组织id")
    private Integer id;

    @ApiModelProperty(value = "机构编码")
    private String code;

    @ApiModelProperty(value = "机构名称")
    private String organizationName;

    @ApiModelProperty(value = "上级id")
    private Integer pid;

    @ApiModelProperty(value = "上级机构名称")
    private String pname;

    @ApiModelProperty(value = "组织介绍")
    private String description;

    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    @ApiModelProperty(value = "规范名称")
    private String specificationName;

    @ApiModelProperty(value = "规范编码")
    private String specificationCode;

    private List<OrgVo> children;

}
