2018-04-03 11:12:49 +08:00
|
|
|
|
/**
|
|
|
|
|
|
*@Title: BaseStringConfig.java
|
|
|
|
|
|
*@Package com.nis.domain.restful
|
|
|
|
|
|
*@Description TODO
|
|
|
|
|
|
*@author dell
|
|
|
|
|
|
*@date 2018年2月5日 下午5:26:02
|
|
|
|
|
|
*@version 版本号
|
|
|
|
|
|
*/
|
|
|
|
|
|
package com.nis.domain.configuration;
|
|
|
|
|
|
|
|
|
|
|
|
import com.google.gson.annotations.Expose;
|
|
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: BaseStringConfig.java
|
|
|
|
|
|
* @Description: 基础字符串类配置
|
|
|
|
|
|
* @author (dell)
|
|
|
|
|
|
* @date 2018年2月5日 下午5:26:02
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
2018-06-29 12:44:33 +08:00
|
|
|
|
public class AppStringCfg extends BaseStringCfg<AppStringCfg> {
|
2018-04-03 11:12:49 +08:00
|
|
|
|
|
2018-06-22 18:46:01 +08:00
|
|
|
|
private static final String tableName="app_string_cfg";
|
2018-04-03 11:12:49 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
|
|
|
|
|
*
|
|
|
|
|
|
* @since 1.0.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
private static final long serialVersionUID = 4938724489988587634L;
|
|
|
|
|
|
@Expose
|
2018-05-23 18:16:07 -04:00
|
|
|
|
private Integer compileId;
|
2018-06-22 18:46:01 +08:00
|
|
|
|
@Expose
|
2018-08-25 16:37:39 +08:00
|
|
|
|
private String ratelimit;
|
2018-04-03 11:12:49 +08:00
|
|
|
|
|
|
|
|
|
|
/* (non-Javadoc)
|
|
|
|
|
|
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Override
|
|
|
|
|
|
public void initDefaultValue() {
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
super.initDefaultValue();
|
|
|
|
|
|
this.isHexbin = 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-05-23 18:16:07 -04:00
|
|
|
|
public Integer getCompileId() {
|
2018-04-03 11:12:49 +08:00
|
|
|
|
return compileId;
|
|
|
|
|
|
}
|
2018-05-23 18:16:07 -04:00
|
|
|
|
public void setCompileId(Integer compileId) {
|
2018-04-03 11:12:49 +08:00
|
|
|
|
this.compileId = compileId;
|
|
|
|
|
|
}
|
2018-06-22 18:46:01 +08:00
|
|
|
|
|
|
|
|
|
|
public static String getTablename() {
|
|
|
|
|
|
return tableName;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-25 16:37:39 +08:00
|
|
|
|
public String getRatelimit() {
|
2018-06-22 18:46:01 +08:00
|
|
|
|
return ratelimit;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-25 16:37:39 +08:00
|
|
|
|
public void setRatelimit(String ratelimit) {
|
2018-06-22 18:46:01 +08:00
|
|
|
|
this.ratelimit = ratelimit;
|
|
|
|
|
|
}
|
2018-04-03 11:12:49 +08:00
|
|
|
|
|
|
|
|
|
|
}
|