提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.system.model.params; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.io.Serializable; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 基础字典 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-03-13 |
|
15 |
*/ |
|
16 |
@Data |
|
17 |
public class DictParam implements Serializable, BaseValidatingParam { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
|
|
22 |
/** |
|
23 |
* 字典id |
|
24 |
*/ |
|
25 |
private Long dictId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 所属字典类型的id |
|
29 |
*/ |
|
30 |
private Long dictTypeId; |
|
31 |
|
|
32 |
/** |
|
33 |
* 字典编码 |
|
34 |
*/ |
|
35 |
private String code; |
|
36 |
|
|
37 |
/** |
|
38 |
* 字典名称 |
|
39 |
*/ |
|
40 |
private String name; |
|
41 |
|
|
42 |
/** |
|
43 |
* 上级代码id |
|
44 |
*/ |
|
45 |
private Long parentId; |
|
46 |
|
|
47 |
/** |
|
48 |
* 状态(字典) |
|
49 |
*/ |
|
50 |
private String status; |
|
51 |
|
|
52 |
/** |
|
53 |
* 字典的描述 |
|
54 |
*/ |
|
55 |
private String description; |
|
56 |
|
|
57 |
/** |
|
58 |
* 查询条件 |
|
59 |
*/ |
|
60 |
private String condition; |
|
61 |
|
|
62 |
public static long getSerialVersionUID() { |
|
63 |
return serialVersionUID; |
|
64 |
} |
|
65 |
|
|
66 |
public Long getDictId() { |
|
67 |
return dictId; |
|
68 |
} |
|
69 |
|
|
70 |
public void setDictId(Long dictId) { |
|
71 |
this.dictId = dictId; |
|
72 |
} |
|
73 |
|
|
74 |
public Long getDictTypeId() { |
|
75 |
return dictTypeId; |
|
76 |
} |
|
77 |
|
|
78 |
public void setDictTypeId(Long dictTypeId) { |
|
79 |
this.dictTypeId = dictTypeId; |
|
80 |
} |
|
81 |
|
|
82 |
public String getCode() { |
|
83 |
return code; |
|
84 |
} |
|
85 |
|
|
86 |
public void setCode(String code) { |
|
87 |
this.code = code; |
|
88 |
} |
|
89 |
|
|
90 |
public String getName() { |
|
91 |
return name; |
|
92 |
} |
|
93 |
|
|
94 |
public void setName(String name) { |
|
95 |
this.name = name; |
|
96 |
} |
|
97 |
|
|
98 |
public Long getParentId() { |
|
99 |
return parentId; |
|
100 |
} |
|
101 |
|
|
102 |
public void setParentId(Long parentId) { |
|
103 |
this.parentId = parentId; |
|
104 |
} |
|
105 |
|
|
106 |
public String getStatus() { |
|
107 |
return status; |
|
108 |
} |
|
109 |
|
|
110 |
public void setStatus(String status) { |
|
111 |
this.status = status; |
|
112 |
} |
|
113 |
|
|
114 |
public String getDescription() { |
|
115 |
return description; |
|
116 |
} |
|
117 |
|
|
118 |
public void setDescription(String description) { |
|
119 |
this.description = description; |
|
120 |
} |
|
121 |
|
|
122 |
public String getCondition() { |
|
123 |
return condition; |
|
124 |
} |
|
125 |
|
|
126 |
public void setCondition(String condition) { |
|
127 |
this.condition = condition; |
|
128 |
} |
|
129 |
|
|
130 |
public Integer getSort() { |
|
131 |
return sort; |
|
132 |
} |
|
133 |
|
|
134 |
public void setSort(Integer sort) { |
|
135 |
this.sort = sort; |
|
136 |
} |
|
137 |
|
|
138 |
/** |
|
139 |
* 排序 |
|
140 |
*/ |
|
141 |
private Integer sort; |
|
142 |
|
|
143 |
@Override |
|
144 |
public String checkParam() { |
|
145 |
return null; |
|
146 |
} |
|
147 |
|
|
148 |
} |