package com.doumee.dao.business.vo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.doumee.core.annotation.excel.ExcelColumn; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; import java.util.List; /** * 志邦组织信息表 * @author 江蹄蹄 * @date 2024/07/04 14:40 */ @Data @ApiModel("志邦组织信息表") public class ShopTreeVo { @TableId(type = IdType.AUTO) @ApiModelProperty(value = "主键", example = "1") @ExcelColumn(name="主键") private Long id; @ApiModelProperty(value = "部门id") @ExcelColumn(name="部门id") private String orgId; @ApiModelProperty(value = "部门名称") @ExcelColumn(name="部门名称") private String name; @ApiModelProperty(value = "IAM上级组织Id") @ExcelColumn(name="IAM上级组织Id") private String parentIamId; @ApiModelProperty(value = "状态", example = "1") @ExcelColumn(name="状态") private Integer status; @ApiModelProperty(value = "组织编码") @ExcelColumn(name="组织编码") private String code; @ApiModelProperty(value = "二级组织类型:1:HR、2:加盟商、3:虚拟组织)", example = "1") @ExcelColumn(name="一级组织类型1:1:HR、2:加盟商、3:虚拟组织)") private Integer type; @ApiModelProperty(value = "二级组织类型2 1:一体商 ,2:加盟商,3:店面,4:部门(HR/加),5:虚拟店面(加/虚)", example = "1") @ExcelColumn(name="组织类型1:一体商 ,2:加盟商,3:店面,4:部门(HR/加),5:虚拟店面(加/虚)") private Integer secondType; @ApiModelProperty(value = "更新时间") @ExcelColumn(name="更新时间") private Date editDate; @ApiModelProperty(value = "部门属性(1:实体店面、2:虚拟店面、3:电商部、4:渠道部、5:财务部)", example = "1") @ExcelColumn(name="部门属性(1:实体店面、2:虚拟店面、3:电商部、4:渠道部、5:财务部)") private Integer attribute; @ApiModelProperty(value = "省份名称") @ExcelColumn(name="省份名称") private String provinceName; @ApiModelProperty(value = "城市名称") @ExcelColumn(name="城市名称") private String cityName; @ApiModelProperty(value = "区县名称") @ExcelColumn(name="区县名称") private String areaName; @ApiModelProperty(value = "品类编码") @ExcelColumn(name="品类编码") private String unitCode; /* @ApiModelProperty(value = "部门名称级别路径", example = "1") @ExcelColumn(name="部门名称级别路径") private String namePath; @ApiModelProperty(value = "部门级别路径", example = "1") @ExcelColumn(name="部门级别路径") private String idPath;*/ @ApiModelProperty(value = "下级部门集合", example = "1") @TableField(exist = false) private List childList; @ApiModelProperty(value = "部门编码级别路径", example = "1") private String idPath; @ApiModelProperty(value = "部门级别路径", example = "1") private String namePath; @ApiModelProperty(value = "部门级别路径", example = "1") private Long parentId; }