增加APP策略配置
This commit is contained in:
@@ -20,7 +20,7 @@ import com.google.gson.annotations.SerializedName;
|
||||
*/
|
||||
public class AppStringCfg extends BaseStringCfg {
|
||||
|
||||
|
||||
private static final String tableName="app_string_cfg";
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
@@ -29,6 +29,8 @@ public class AppStringCfg extends BaseStringCfg {
|
||||
private static final long serialVersionUID = 4938724489988587634L;
|
||||
@Expose
|
||||
private Integer compileId;
|
||||
@Expose
|
||||
private Integer ratelimit;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
|
||||
@@ -46,5 +48,17 @@ public class AppStringCfg extends BaseStringCfg {
|
||||
public void setCompileId(Integer compileId) {
|
||||
this.compileId = compileId;
|
||||
}
|
||||
|
||||
public static String getTablename() {
|
||||
return tableName;
|
||||
}
|
||||
|
||||
public Integer getRatelimit() {
|
||||
return ratelimit;
|
||||
}
|
||||
|
||||
public void setRatelimit(Integer ratelimit) {
|
||||
this.ratelimit = ratelimit;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user