package com.ks.daylucky.pojo.DO;
|
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
|
public class AppConfig {
|
private Long id;
|
|
@NotNull(message = "应用ID不能为空")
|
private Long appId;
|
|
@NotEmpty(message = "配置名称不能为空")
|
private String name;
|
|
@NotEmpty(message = "key不能为空")
|
private String key;
|
|
private String value;
|
|
private Integer minVersion;
|
|
private String remarks;
|
|
private Date createTime;
|
|
private Date updateTime;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getAppId() {
|
return appId;
|
}
|
|
public void setAppId(Long appId) {
|
this.appId = appId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name == null ? null : name.trim();
|
}
|
|
public String getKey() {
|
return key;
|
}
|
|
public void setKey(String key) {
|
this.key = key == null ? null : key.trim();
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
public void setValue(String value) {
|
this.value = value == null ? null : value.trim();
|
}
|
|
public Integer getMinVersion() {
|
return minVersion;
|
}
|
|
public void setMinVersion(Integer minVersion) {
|
this.minVersion = minVersion;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks == null ? null : remarks.trim();
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|