|
@@ -1,9 +1,11 @@
|
|
|
package com.huaxu.dto;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.huaxu.entity.Org;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
@Data
|
|
|
public class OrgTree {
|
|
@@ -17,13 +19,90 @@ public class OrgTree {
|
|
|
*/
|
|
|
@ApiModelProperty(value = "租户标识")
|
|
|
private String tenantId;
|
|
|
+ /**
|
|
|
+ * 机构类型
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构类型")
|
|
|
+ private String orgType;
|
|
|
+ /**
|
|
|
+ * 上级机构
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "上级机构")
|
|
|
+ private Integer parentOrgId;
|
|
|
+ /**
|
|
|
+ * 机构所在区域
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构所在区域")
|
|
|
+ private Integer orgAreaId;
|
|
|
/**
|
|
|
* 机构名称
|
|
|
*/
|
|
|
@ApiModelProperty(value = "机构名称")
|
|
|
private String orgName;
|
|
|
- @ApiModelProperty(value = "上级机构")
|
|
|
- private Integer parentOrgId;
|
|
|
+ /**
|
|
|
+ * 机构状态
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构状态")
|
|
|
+ private Integer orgState;
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "备注")
|
|
|
+ private String remark;
|
|
|
+ /**
|
|
|
+ * 机构负责人名称
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构负责人名称")
|
|
|
+ private String orgLeaderName;
|
|
|
+ /**
|
|
|
+ * 机构负责人手机
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构负责人手机")
|
|
|
+ private String orgLeaderPhone;
|
|
|
+ /**
|
|
|
+ * 机构负责人邮箱
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构负责人邮箱")
|
|
|
+ private String orgLeaderEmail;
|
|
|
+ /**
|
|
|
+ * 机构负责人性别
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "机构负责人性别")
|
|
|
+ private String orgLeaderSex;
|
|
|
+ /**
|
|
|
+ * 数据删除标记
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "数据删除标记")
|
|
|
+ private Integer status;
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
+ private Date dateCreate;
|
|
|
+ /**
|
|
|
+ * 创建人
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "创建人")
|
|
|
+ private String createBy;
|
|
|
+ @ApiModelProperty(value = "")
|
|
|
+ private Date dateUpdate;
|
|
|
+ @ApiModelProperty(value = "")
|
|
|
+ private String updateBy;
|
|
|
+ @ApiModelProperty(value = "父组织类型")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String parentType;
|
|
|
+ @ApiModelProperty(value = "子组织类型")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String childType;
|
|
|
+ @ApiModelProperty(value = "父组织id")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Integer parentId;
|
|
|
+ @ApiModelProperty(value = "父组织名称")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String parentName;
|
|
|
+ @ApiModelProperty(value = "区域名称")
|
|
|
+ @TableField(exist = false)
|
|
|
+ private String areaName;
|
|
|
private List<OrgTree>orgs;
|
|
|
private boolean display;
|
|
|
}
|