This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/domain/configuration/AppHttpCfg.java

187 lines
3.9 KiB
Java
Raw Normal View History

2018-06-22 18:46:01 +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;
import com.nis.util.excel.ExcelField;
/**
* @Description: APP策略配置
* @author (dell)
* @date 2018年2月5日 下午5:26:02
* @version V1.0
*/
public class AppHttpCfg extends BaseCfg<AppHttpCfg> {
/**
*
*/
private static final long serialVersionUID = 7528723915857911560L;
private static final String tableName="app_http_cfg";
@Expose
2018-10-24 18:36:31 +08:00
@ExcelField(title="cfg_id",sort=0)
2018-06-22 18:46:01 +08:00
private Integer compileId;
@Expose
private String ratelimit;
private Integer appCode;//specific_service_cfg表一级节点的spec_service_code
private Integer behavCode;//specific_service_cfg表二级节点的spec_service_code
2018-06-22 18:46:01 +08:00
private Integer specServiceId;
2018-10-24 18:36:31 +08:00
@ExcelField(title="district",sort=3)
2018-06-22 18:46:01 +08:00
private String district;
2018-10-24 18:36:31 +08:00
@ExcelField(title="key_word",sort=4)
2018-06-22 18:46:01 +08:00
private String cfgKeywords;
2018-10-24 18:36:31 +08:00
@ExcelField(title="social_app",sort=2)
2018-06-23 17:29:14 +08:00
private String appName;
2018-06-22 18:46:01 +08:00
2018-10-24 18:36:31 +08:00
/**
* 表达式类型
*/
2018-06-22 18:46:01 +08:00
@Expose
2018-10-24 18:36:31 +08:00
@ExcelField(title="expression_type",dictType="EXPRESSION_TYPE",sort=7)
2018-06-22 18:46:01 +08:00
@SerializedName("exprType")
protected Integer exprType ;
2018-10-24 18:36:31 +08:00
/**
* 匹配方式
*/
2018-06-22 18:46:01 +08:00
@Expose
2018-10-24 18:36:31 +08:00
@ExcelField(title="match_method",dictType="MATCH_METHOD",sort=8)
2018-06-22 18:46:01 +08:00
@SerializedName("matchMethod")
protected Integer matchMethod ;
@Expose
@SerializedName("isHexbin")
protected Integer isHexbin;
2018-10-24 18:36:31 +08:00
/**
* 是否hex
*/
@ExcelField(title="is_hex",sort=5)
protected Integer isHex;
/**
* 是否hex
*/
@ExcelField(title="is_case_insenstive",sort=6)
protected Integer isCaseInsenstive;
public Integer getIsHex() {
return isHex;
}
public void setIsHex(Integer isHex) {
this.isHex = isHex;
}
public Integer getIsCaseInsenstive() {
return isCaseInsenstive;
}
public void setIsCaseInsenstive(Integer isCaseInsenstive) {
this.isCaseInsenstive = isCaseInsenstive;
}
2018-06-22 18:46:01 +08:00
public Integer getExprType() {
return exprType;
}
public void setExprType(Integer exprType) {
this.exprType = exprType;
}
public Integer getMatchMethod() {
return matchMethod;
}
public void setMatchMethod(Integer matchMethod) {
this.matchMethod = matchMethod;
}
public Integer getIsHexbin() {
return isHexbin;
}
public void setIsHexbin(Integer isHexbin) {
this.isHexbin = isHexbin;
}
@Override
public void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.isHexbin = 0;
}
public Integer getCompileId() {
return compileId;
}
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
public static String getTablename() {
return tableName;
}
public String getRatelimit() {
2018-06-22 18:46:01 +08:00
return ratelimit;
}
public void setRatelimit(String ratelimit) {
2018-06-22 18:46:01 +08:00
this.ratelimit = ratelimit;
}
public Integer getAppCode() {
2018-06-22 18:46:01 +08:00
return appCode;
}
public void setAppCode(Integer appCode) {
2018-06-22 18:46:01 +08:00
this.appCode = appCode;
}
public Integer getSpecServiceId() {
return specServiceId;
}
public void setSpecServiceId(Integer specServiceId) {
this.specServiceId = specServiceId;
}
public String getDistrict() {
return district;
}
public void setDistrict(String district) {
this.district = district;
}
public String getCfgKeywords() {
return cfgKeywords;
}
public void setCfgKeywords(String cfgKeywords) {
this.cfgKeywords = cfgKeywords;
}
2018-06-23 17:29:14 +08:00
public String getAppName() {
return appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public Integer getBehavCode() {
return behavCode;
}
public void setBehavCode(Integer behavCode) {
this.behavCode = behavCode;
}
2018-06-22 18:46:01 +08:00
}