/** *@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 AppDomainCfg extends BaseCfg { /** * */ private static final long serialVersionUID = -4685445179478960429L; private static final String tableName="app_domain_cfg"; @Expose @ExcelField(title="cfg_id",sort=0) 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 private Integer specServiceId; @ExcelField(title="domain",sort=3) private String domain; private String cfgKeywords; @ExcelField(title="social_app",sort=2) private String appName; /** * 表达式类型 */ @Expose @ExcelField(title="expression_type",dictType="EXPRESSION_TYPE",sort=7) @SerializedName("exprType") protected Integer exprType ; /** * 匹配方式 */ @Expose @ExcelField(title="match_method",dictType="MATCH_METHOD",sort=8) @SerializedName("matchMethod") protected Integer matchMethod ; @Expose @SerializedName("isHexbin") protected Integer isHexbin; /** * 是否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; } 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() { return ratelimit; } public void setRatelimit(String ratelimit) { this.ratelimit = ratelimit; } public Integer getAppCode() { return appCode; } public void setAppCode(Integer appCode) { this.appCode = appCode; } public Integer getSpecServiceId() { return specServiceId; } public void setSpecServiceId(Integer specServiceId) { this.specServiceId = specServiceId; } public String getDomain() { return domain; } public void setDomain(String domain) { this.domain = domain; } public String getCfgKeywords() { return cfgKeywords; } public void setCfgKeywords(String cfgKeywords) { this.cfgKeywords = cfgKeywords; } 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; } }