Xiajijian
2026-01-20 d34744aed7c451b4a8a67acc851708bd05c223e6
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
93
94
95
96
97
98
package com.ard.inspection.domain;
 
import com.ard.common.core.domain.BaseEntity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 精细化巡检分组对象 ard_inspection_group
 * 
 * @author xia
 * @date 2026-01-15
 */
public class ArdInspectionGroup extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /** 分组id */
    private Long groupId;
 
    /** 分组父部门id */
    private Long groupParentId;
 
    /** 祖级列表 */
    private String ancestors;
 
    /** 分组名称 */
    private String groupName;
 
    /** 显示顺序 */
    private Integer orderNum;
 
    /** 父部门名称 */
    private String parentName;
 
    /** 子部门 */
    private List<ArdInspectionGroup> children = new ArrayList<ArdInspectionGroup>();
 
    public Long getGroupId() {
        return groupId;
    }
 
    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }
 
    public Long getGroupParentId() {
        return groupParentId;
    }
 
    public void setGroupParentId(Long groupParentId) {
        this.groupParentId = groupParentId;
    }
 
    public String getAncestors() {
        return ancestors;
    }
 
    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }
 
    @NotBlank(message = "分组名称不能为空")
    @Size(min = 0, max = 30, message = "分组名称长度不能超过30个字符")
    public String getGroupName() {
        return groupName;
    }
 
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
 
    public Integer getOrderNum() {
        return orderNum;
    }
 
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
 
    public String getParentName() {
        return parentName;
    }
 
    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
 
    public List<ArdInspectionGroup> getChildren() {
        return children;
    }
 
    public void setChildren(List<ArdInspectionGroup> children) {
        this.children = children;
    }
 
}