社交应用配置查询、新增、修改功能

This commit is contained in:
zhangwei
2018-03-29 17:24:21 +08:00
parent e64f7d5b22
commit 99175da3f2
11 changed files with 2287 additions and 15 deletions

View File

@@ -8,6 +8,8 @@
*/
package com.nis.domain.configuration;
import java.util.List;
/**
* @ClassName: AppIdConfig.java
* @Description: TODO
@@ -30,8 +32,64 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
/**
* 应用协议id
*/
private String appId;
private Long appId;
/**
* 编译id
*/
private Integer compileId;
/**
* 协议字符串特征表信息列表
*/
private List<ComplexkeywordCfg> complexFeaturesList;
/**
* 协议增强字符串特征配置信息列表
*/
private List<BaseStringCfg> strFeaturesCfgList;
private List<AppFeaturesIndex> featuresList;
public static class AppFeaturesIndex{
private Long indexId;
private Integer appCompileId;
private String featuresTable;
private Integer featuresCompileId;
private Integer featuresTableType;
public Long getIndexId() {
return indexId;
}
public void setIndexId(Long indexId) {
this.indexId = indexId;
}
public String getFeaturesTable() {
return featuresTable;
}
public void setFeaturesTable(String featuresTable) {
this.featuresTable = featuresTable;
}
public Integer getFeaturesTableType() {
return featuresTableType;
}
public void setFeaturesTableType(Integer featuresTableType) {
this.featuresTableType = featuresTableType;
}
public Integer getAppCompileId() {
return appCompileId;
}
public void setAppCompileId(Integer appCompileId) {
this.appCompileId = appCompileId;
}
public Integer getFeaturesCompileId() {
return featuresCompileId;
}
public void setFeaturesCompileId(Integer featuresCompileId) {
this.featuresCompileId = featuresCompileId;
}
}
/**
* appName
* @return appName
@@ -53,17 +111,34 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
* @return appId
*/
public String getAppId() {
public Long getAppId() {
return appId;
}
/**
* @param appId the appId to set
*/
public void setAppId(String appId) {
public void setAppId(Long appId) {
this.appId = appId;
}
/**
* compileId
* @return compileId
*/
public Integer getCompileId() {
return compileId;
}
/**
* @param compileId the compileId to set
*/
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
*/
@@ -73,5 +148,29 @@ public class AppIdCfg extends BaseCfg<AppIdCfg> {
super.initDefaultValue();
}
public List<ComplexkeywordCfg> getComplexFeaturesList() {
return complexFeaturesList;
}
public void setComplexFeaturesList(List<ComplexkeywordCfg> complexFeaturesList) {
this.complexFeaturesList = complexFeaturesList;
}
public List<BaseStringCfg> getStrFeaturesCfgList() {
return strFeaturesCfgList;
}
public void setStrFeaturesCfgList(List<BaseStringCfg> strFeaturesCfgList) {
this.strFeaturesCfgList = strFeaturesCfgList;
}
public List<AppFeaturesIndex> getFeaturesList() {
return featuresList;
}
public void setFeaturesList(List<AppFeaturesIndex> featuresList) {
this.featuresList = featuresList;
}
}