zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
package org.jeecg.modules.project.entity;
 
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.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
/**
 * 项目环节
 */
 
public class ProProjectLinkTree  implements Serializable {
 
    private String id;
    @Excel(name = "序号", width = 15)
 
    private String key;
    private String title;
    private String value;
 
    private Integer xh;
    @Excel(name = "项目环节", width = 15)
    private String xmhj;
 
    @Excel(name = "起始时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qssj;
    @Excel(name = "预计完成时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date yjwcsj;
 
    @Excel(name = "持续时间", width = 15)
    private Integer cxsj;
 
    @Excel(name = "实际完成时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date sjwcsj;
 
    @Excel(name = "完成进度", width = 15)
    private Integer wcjd;
 
 
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Excel(name = "资源名称", width = 15)
    private String zymc;
 
 
    private String pid; //父项id
    private String pro;//项目id
    private Integer level;//
    private Integer level1;//
    private Integer level2;//
    private Integer level3;//
 
    @TableField(exist = false)
    private String sxh; //原始序号,用于数据分类
 
 
    private Double sortNo; //排序
 
    private boolean isLeaf; //是否子节点
 
    private List<ProProjectLinkTree> children;
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public String getKey() {
        return key;
    }
 
    public void setKey(String key) {
        this.key = key;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public Integer getXh() {
        return xh;
    }
 
    public void setXh(Integer xh) {
        this.xh = xh;
    }
 
    public String getXmhj() {
        return xmhj;
    }
 
    public void setXmhj(String xmhj) {
        this.xmhj = xmhj;
    }
 
    public Date getQssj() {
        return qssj;
    }
 
    public void setQssj(Date qssj) {
        this.qssj = qssj;
    }
 
    public Date getYjwcsj() {
        return yjwcsj;
    }
 
    public void setYjwcsj(Date yjwcsj) {
        this.yjwcsj = yjwcsj;
    }
 
    public Integer getCxsj() {
        return cxsj;
    }
 
    public void setCxsj(Integer cxsj) {
        this.cxsj = cxsj;
    }
 
    public Date getSjwcsj() {
        return sjwcsj;
    }
 
    public void setSjwcsj(Date sjwcsj) {
        this.sjwcsj = sjwcsj;
    }
 
    public Integer getWcjd() {
        return wcjd;
    }
 
    public void setWcjd(Integer wcjd) {
        this.wcjd = wcjd;
    }
 
    public String getZymc() {
        return zymc;
    }
 
    public void setZymc(String zymc) {
        this.zymc = zymc;
    }
 
    public String getPid() {
        return pid;
    }
 
    public void setPid(String pid) {
        this.pid = pid;
    }
 
    public String getPro() {
        return pro;
    }
 
    public void setPro(String pro) {
        this.pro = pro;
    }
 
    public Integer getLevel() {
        return level;
    }
 
    public void setLevel(Integer level) {
        this.level = level;
    }
 
    public Integer getLevel1() {
        return level1;
    }
 
    public void setLevel1(Integer level1) {
        this.level1 = level1;
    }
 
    public Integer getLevel2() {
        return level2;
    }
 
    public void setLevel2(Integer level2) {
        this.level2 = level2;
    }
 
    public Integer getLevel3() {
        return level3;
    }
 
    public void setLevel3(Integer level3) {
        this.level3 = level3;
    }
 
    public String getSxh() {
        return sxh;
    }
 
    public void setSxh(String sxh) {
        this.sxh = sxh;
    }
 
    public Double getSortNo() {
        return sortNo;
    }
 
    public void setSortNo(Double sortNo) {
        this.sortNo = sortNo;
    }
 
    public boolean isLeaf() {
        return isLeaf;
    }
 
    public void setLeaf(boolean leaf) {
        isLeaf = leaf;
    }
 
    public List<ProProjectLinkTree> getChildren() {
        return children;
    }
 
    public void setChildren(List<ProProjectLinkTree> children) {
        this.children = children;
    }
 
    public String getValue() {
        return value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
    public ProProjectLinkTree() {
    }
    
    public ProProjectLinkTree(ProProjectLink link) {
        this.id = link.getId();
        this.key = link.getId();
        this.value = link.getId();
        this.title = link.getXmhj();
        this.xh = link.getXh();
        this.xmhj = link.getXmhj();
        this.qssj = link.getQssj();
        this.yjwcsj = link.getYjwcsj();
        this.cxsj = link.getCxsj();
        this.sjwcsj = link.getSjwcsj();
        this.wcjd = link.getWcjd();
        this.zymc = link.getZymc();
        this.pid = link.getPid();
        this.pro = link.getPro();
        this.level = link.getLevel();
        this.level1 = link.getLevel1();
        this.level2 = link.getLevel2();
        this.level3 = link.getLevel3();
        this.sxh = link.getSxh();
        this.sortNo = link.getSortNo();
        this.isLeaf = link.isLeaf();
        if (!link.isLeaf()) {
            this.children = new ArrayList<ProProjectLinkTree>();
        }
    }
 
    @Override
    public String toString() {
        return "ProProjectLinkTree{" +
                "id='" + id + '\'' +
                ", key='" + key + '\'' +
                ", title='" + title + '\'' +
                ", value='" + value + '\'' +
                ", xh=" + xh +
                ", xmhj='" + xmhj + '\'' +
                ", qssj=" + qssj +
                ", yjwcsj=" + yjwcsj +
                ", cxsj=" + cxsj +
                ", sjwcsj=" + sjwcsj +
                ", wcjd=" + wcjd +
                ", zymc='" + zymc + '\'' +
                ", pid='" + pid + '\'' +
                ", pro='" + pro + '\'' +
                ", level=" + level +
                ", level1=" + level1 +
                ", level2=" + level2 +
                ", level3=" + level3 +
                ", sxh='" + sxh + '\'' +
                ", sortNo=" + sortNo +
                ", isLeaf=" + isLeaf +
                ", children=" + children +
                '}';
    }
}