-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegistryType.java
More file actions
76 lines (58 loc) · 1.3 KB
/
Copy pathRegistryType.java
File metadata and controls
76 lines (58 loc) · 1.3 KB
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
package com.caozj.model;
import java.io.Serializable;
import com.caozj.codegenerate.DescAnnotation;
/**
* 注册类型
*
* @author caozj
*
*/
@DescAnnotation(desc = "注册类型")
public class RegistryType implements Serializable {
private static final long serialVersionUID = 3417111265402798750L;
private int id;
@DescAnnotation(desc = "名称")
private String text;
private int parentID;
// ///扩展属性////
/**
* 树节点状态,easyUI使用
*/
private String state;
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public int getParentID() {
return parentID;
}
public void setParentID(int parentID) {
this.parentID = parentID;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("RegistryType [id=");
builder.append(id);
builder.append(", text=");
builder.append(text);
builder.append(", parentID=");
builder.append(parentID);
builder.append("]");
return builder.toString();
}
}