package com.ks.app.entity.config;
|
|
import com.ks.app.entity.SystemEnum;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.yeshi.utils.generater.annotation.admin.DaoQueryCondition;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @title: SystemConfig
|
* @description: 系统配置文件
|
* @date 2021/11/16 10:39
|
*/
|
@Document(collection = "systemConfig")
|
public class SystemConfig implements Serializable {
|
@Id
|
private String id;
|
@DaoQueryCondition(queryType = DaoQueryCondition.QueryType.contains)
|
private String name;
|
@DaoQueryCondition
|
private SystemConfigKey key;
|
@DaoQueryCondition
|
private SystemEnum system;
|
@DaoQueryCondition(queryType = DaoQueryCondition.QueryType.contains)
|
private String value;
|
private String remarks;
|
private Date createTime;
|
private Date updateTime;
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public SystemConfigKey getKey() {
|
return key;
|
}
|
|
public void setKey(SystemConfigKey key) {
|
this.key = key;
|
}
|
|
public SystemEnum getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemEnum system) {
|
this.system = system;
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
public void setValue(String value) {
|
this.value = value;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
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;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
}
|