jiangping
2024-07-12 3faf877e3ca03028d60bba265249a543e8f9b533
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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<ShopTreeVo> childList;
 
    @ApiModelProperty(value = "部门编码级别路径", example = "1")
    private String idPath;
    @ApiModelProperty(value = "部门级别路径", example = "1")
    private String namePath;
    @ApiModelProperty(value = "部门级别路径", example = "1")
    private Long parentId;
}