mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 02:50:13 +08:00
78 lines
1.2 KiB
Java
78 lines
1.2 KiB
Java
package com.jsowell.system.domain;
|
|
|
|
import com.jsowell.common.util.StringUtils;
|
|
|
|
/**
|
|
* 缓存信息
|
|
*
|
|
* @author jsowell
|
|
*/
|
|
public class SysCache {
|
|
/**
|
|
* 缓存名称
|
|
*/
|
|
private String cacheName = "";
|
|
|
|
/**
|
|
* 缓存键名
|
|
*/
|
|
private String cacheKey = "";
|
|
|
|
/**
|
|
* 缓存内容
|
|
*/
|
|
private String cacheValue = "";
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
private String remark = "";
|
|
|
|
public SysCache() {
|
|
|
|
}
|
|
|
|
public SysCache(String cacheName, String remark) {
|
|
this.cacheName = cacheName;
|
|
this.remark = remark;
|
|
}
|
|
|
|
public SysCache(String cacheName, String cacheKey, String cacheValue) {
|
|
this.cacheName = StringUtils.replace(cacheName, ":", "");
|
|
this.cacheKey = StringUtils.replace(cacheKey, cacheName, "");
|
|
this.cacheValue = cacheValue;
|
|
}
|
|
|
|
public String getCacheName() {
|
|
return cacheName;
|
|
}
|
|
|
|
public void setCacheName(String cacheName) {
|
|
this.cacheName = cacheName;
|
|
}
|
|
|
|
public String getCacheKey() {
|
|
return cacheKey;
|
|
}
|
|
|
|
public void setCacheKey(String cacheKey) {
|
|
this.cacheKey = cacheKey;
|
|
}
|
|
|
|
public String getCacheValue() {
|
|
return cacheValue;
|
|
}
|
|
|
|
public void setCacheValue(String cacheValue) {
|
|
this.cacheValue = cacheValue;
|
|
}
|
|
|
|
public String getRemark() {
|
|
return remark;
|
|
}
|
|
|
|
public void setRemark(String remark) {
|
|
this.remark = remark;
|
|
}
|
|
}
|