Xiajijian
2026-03-03 7a8fe33d905a74e9cd092d9e9cc3d446c79b9c7e
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package com.ard.inspection.domain;
 
import com.ard.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
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;
 
    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;
 
    /** 父部门名称 */
    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;
    }
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        this.status = status;
    }
 
    public String getDelFlag() {
        return delFlag;
    }
 
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("groupParentId", getGroupParentId())
            .append("ancestors", getAncestors())
            .append("groupName", getGroupName())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}