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
package com.hmit.kernes.entity;
import org.hibernate.validator.constraints.NotBlank;
/**
* 系统配置信息
*
* @author kernespring
* @email kernespring@gmail.com
* @date 2016年12月4日 下午6:43:36
*/
public class SysConfigEntity {
private Long id;
@NotBlank(message="参数名不能为空")
private String key;
@NotBlank(message="参数值不能为空")
private String value;
private String remark;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}