DictionaryData.java
2.86 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
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
package com.glsx.manager.pojo.dictionary;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import com.glsx.manager.pojo.BaseModel;
import com.glsx.manager.pojo.GroupA;
/**
*
* @Title DictionaryData.java
* @Package com.glsx.manager.pojo.dictionary
* @Description TODO
* @author zhanghj
* @date 2019年1月22日 下午5:34:49
* @version 1.0.0
*/
public class DictionaryData extends BaseModel{
/**
* 主键id
*/
@NotNull(message="{param.not.null}", groups={GroupA.class})
private Integer id;
/**
* 字典类型
*/
@NotBlank(message="{param.not.null}", groups={Default.class, GroupA.class})
private String dictType;
/**
* 字典标签
*/
@NotBlank(message="{param.not.null}", groups={Default.class, GroupA.class})
private String dataValue;
/**
* 字典键值
*/
@NotBlank(message="{param.not.null}", groups={Default.class, GroupA.class})
private String dataKey;
/**
* 状态:1:启用,2:停用,3:删除
*/
@NotNull(message="{param.not.null}", groups={Default.class, GroupA.class})
private Integer dataStatus;
/**
* 顺序
*/
@NotNull(message="{param.not.null}", groups={Default.class, GroupA.class})
private Integer sort;
/**
* 字典名称
*/
private String name;
/**
* 查询:开始时间
*/
private String beginDate;
/**
* 查询:结束时间
*/
private String endDate;
public String getDictType() {
return dictType;
}
public void setDictType(String dictType) {
this.dictType = dictType == null ? null : dictType.trim();
}
public String getDataValue() {
return dataValue;
}
public void setDataValue(String dataValue) {
this.dataValue = dataValue == null ? null : dataValue.trim();
}
public String getDataKey() {
return dataKey;
}
public void setDataKey(String dataKey) {
this.dataKey = dataKey == null ? null : dataKey.trim();
}
public Integer getDataStatus() {
return dataStatus;
}
public void setDataStatus(Integer dataStatus) {
this.dataStatus = dataStatus;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getBeginDate() {
return beginDate;
}
public void setBeginDate(String beginDate) {
this.beginDate = beginDate;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
}