2018-03-05 16:30:16 +08:00
|
|
|
|
/**
|
|
|
|
|
|
*@Title: MaatCfg.java
|
|
|
|
|
|
*@Package com.nis.domain.maat
|
|
|
|
|
|
*@Description TODO
|
|
|
|
|
|
*@author dell
|
|
|
|
|
|
*@date 2018年3月1日 上午10:29:29
|
|
|
|
|
|
*@version 版本号
|
|
|
|
|
|
*/
|
|
|
|
|
|
package com.nis.domain.maat;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
import java.util.Date;
|
2018-03-26 14:43:58 +08:00
|
|
|
|
import java.util.List;
|
2018-03-05 16:30:16 +08:00
|
|
|
|
|
|
|
|
|
|
import com.google.gson.annotations.Expose;
|
|
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
2018-06-08 17:33:57 +08:00
|
|
|
|
import com.nis.util.Constants;
|
2018-05-29 12:48:27 +08:00
|
|
|
|
import com.nis.util.DateUtils;
|
2018-09-28 12:00:13 +08:00
|
|
|
|
import com.nis.util.StringUtils;
|
2018-08-06 11:02:28 +08:00
|
|
|
|
import com.nis.web.service.BaseService;
|
2018-09-28 12:00:13 +08:00
|
|
|
|
import com.nis.web.service.SpringContextHolder;
|
|
|
|
|
|
import com.nis.web.service.basics.SysDictInfoService;
|
2018-03-05 16:30:16 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: MaatCfg.java
|
|
|
|
|
|
* @Description: TODO
|
|
|
|
|
|
* @author (dell)
|
|
|
|
|
|
* @date 2018年3月1日 上午10:29:29
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
public class MaatCfg implements Serializable {
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer compileId;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer action;
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("service")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private Integer serviceId;
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("contType")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private String classify;//分类
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("attrType")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private String attribute;//性质
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("contLabel")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private String lable;//标签
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer taskId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("guaranteeId")
|
|
|
|
|
|
private Integer functionId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("effectiveRange")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private String areaEffectiveIds ;
|
|
|
|
|
|
@Expose
|
2018-05-29 17:59:22 +08:00
|
|
|
|
@SerializedName("doBlacklist")
|
2018-05-28 17:05:35 +08:00
|
|
|
|
private Integer doBlackList;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer doLog;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer activeSys;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer configPercent;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer configOption;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Date startTime;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Date endTime;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private String userRegion;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private Integer groupNum;
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer fatherCfgId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-07-26 11:04:57 +08:00
|
|
|
|
@SerializedName("affairId")
|
|
|
|
|
|
private Integer requestId;
|
|
|
|
|
|
@Expose
|
2018-05-29 14:59:40 +08:00
|
|
|
|
@SerializedName("opTime")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Date auditTime;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 15:37:48 +08:00
|
|
|
|
private Integer isValid;
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private List<GroupCfg> groupRelationList;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
|
|
|
|
|
private List<StringCfg> strRegionList;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private List<IpCfg> ipRegionList;
|
|
|
|
|
|
@Expose
|
|
|
|
|
|
private List<NumBoundaryCfg> numRegionList;
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private List<DigestCfg> digestRegionList;
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@Expose
|
2018-06-08 09:33:20 +08:00
|
|
|
|
@SerializedName("ipClientRangeList")
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private List<IpCfg> areaIpRegionList;
|
2018-03-05 16:30:16 +08:00
|
|
|
|
|
2018-05-28 17:05:35 +08:00
|
|
|
|
public static class GroupCfg{
|
|
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer groupId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer compileId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isValid;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 14:59:40 +08:00
|
|
|
|
@SerializedName("opTime")
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private Date auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public Integer getGroupId() {
|
|
|
|
|
|
return groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupId(Integer groupId) {
|
|
|
|
|
|
this.groupId = groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getCompileId() {
|
|
|
|
|
|
return compileId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCompileId(Integer compileId) {
|
|
|
|
|
|
this.compileId = compileId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2019-01-18 16:21:20 +08:00
|
|
|
|
|
2018-03-05 16:30:16 +08:00
|
|
|
|
}
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public static class StringCfg{
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer regionId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer groupId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("tableName")
|
|
|
|
|
|
private String cfgType;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String district;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("keywords")
|
|
|
|
|
|
private String cfgKeywords;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer exprType;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer matchMethod;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isHexbin;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isValid;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 14:59:40 +08:00
|
|
|
|
@SerializedName("opTime")
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private Date auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public Integer getRegionId() {
|
|
|
|
|
|
return regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRegionId(Integer regionId) {
|
|
|
|
|
|
this.regionId = regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getGroupId() {
|
|
|
|
|
|
return groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupId(Integer groupId) {
|
|
|
|
|
|
this.groupId = groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getCfgType() {
|
|
|
|
|
|
return cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgType(String cfgType) {
|
|
|
|
|
|
this.cfgType = cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
public static class IpCfg{
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer regionId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer groupId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("tableName")
|
|
|
|
|
|
private String cfgType;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@SerializedName("addrType")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer ipType;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String srcIp;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@SerializedName("maskSrcIp")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String srcIpMask ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String srcPort ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@SerializedName("maskSrcPort")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String srcPortMask ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String dstIp ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@SerializedName("maskDstIp")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String dstIpMask ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String dstPort ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
@SerializedName("maskDstPort")
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String dstPortMask ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer direction ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer protocol ;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isValid;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 14:59:40 +08:00
|
|
|
|
@SerializedName("opTime")
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private Date auditTime;
|
2018-10-16 19:32:30 +08:00
|
|
|
|
@Expose
|
|
|
|
|
|
private String userRegion;
|
|
|
|
|
|
|
|
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
|
return userRegion;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setUserRegion(String userRegion) {
|
|
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
|
}
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public Integer getRegionId() {
|
|
|
|
|
|
return regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRegionId(Integer regionId) {
|
|
|
|
|
|
this.regionId = regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getGroupId() {
|
|
|
|
|
|
return groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupId(Integer groupId) {
|
|
|
|
|
|
this.groupId = groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getCfgType() {
|
|
|
|
|
|
return cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgType(String cfgType) {
|
|
|
|
|
|
this.cfgType = cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIpType() {
|
|
|
|
|
|
return ipType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIpType(Integer ipType) {
|
|
|
|
|
|
this.ipType = ipType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSrcIp() {
|
|
|
|
|
|
return srcIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSrcIp(String srcIp) {
|
|
|
|
|
|
this.srcIp = srcIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSrcIpMask() {
|
|
|
|
|
|
return srcIpMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSrcIpMask(String srcIpMask) {
|
|
|
|
|
|
this.srcIpMask = srcIpMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSrcPort() {
|
|
|
|
|
|
return srcPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSrcPort(String srcPort) {
|
|
|
|
|
|
this.srcPort = srcPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getSrcPortMask() {
|
|
|
|
|
|
return srcPortMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setSrcPortMask(String srcPortMask) {
|
|
|
|
|
|
this.srcPortMask = srcPortMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getDstIp() {
|
|
|
|
|
|
return dstIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDstIp(String dstIp) {
|
|
|
|
|
|
this.dstIp = dstIp;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getDstIpMask() {
|
|
|
|
|
|
return dstIpMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDstIpMask(String dstIpMask) {
|
|
|
|
|
|
this.dstIpMask = dstIpMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getDstPort() {
|
|
|
|
|
|
return dstPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDstPort(String dstPort) {
|
|
|
|
|
|
this.dstPort = dstPort;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getDstPortMask() {
|
|
|
|
|
|
return dstPortMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDstPortMask(String dstPortMask) {
|
|
|
|
|
|
this.dstPortMask = dstPortMask;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getDirection() {
|
|
|
|
|
|
return direction;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDirection(Integer direction) {
|
|
|
|
|
|
this.direction = direction;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getProtocol() {
|
|
|
|
|
|
return protocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setProtocol(Integer protocol) {
|
|
|
|
|
|
this.protocol = protocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public static class NumBoundaryCfg{
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer regionId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer groupId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("tableName")
|
2018-06-08 17:33:57 +08:00
|
|
|
|
private String cfgType="";
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer lowBoundary;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer upBoundary;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isValid;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 14:59:40 +08:00
|
|
|
|
@SerializedName("opTime")
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private Date auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public Integer getRegionId() {
|
|
|
|
|
|
return regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRegionId(Integer regionId) {
|
|
|
|
|
|
this.regionId = regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getGroupId() {
|
|
|
|
|
|
return groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupId(Integer groupId) {
|
|
|
|
|
|
this.groupId = groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getCfgType() {
|
|
|
|
|
|
return cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgType(String cfgType) {
|
|
|
|
|
|
this.cfgType = cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getLowBoundary() {
|
|
|
|
|
|
return lowBoundary;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setLowBoundary(Integer lowBoundary) {
|
|
|
|
|
|
this.lowBoundary = lowBoundary;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getUpBoundary() {
|
|
|
|
|
|
return upBoundary;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setUpBoundary(Integer upBoundary) {
|
|
|
|
|
|
this.upBoundary = upBoundary;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-06-08 17:33:57 +08:00
|
|
|
|
public void initDefaultValue() {
|
|
|
|
|
|
this.cfgType=Constants.PROTOCOL_NUM_REGION;
|
|
|
|
|
|
}
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}public static class DigestCfg{
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer regionId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer groupId;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
@SerializedName("tableName")
|
|
|
|
|
|
private String cfgType;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-06-04 17:42:10 +08:00
|
|
|
|
private Long rawLen;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private String digest;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer cfdsLevel;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-22 16:04:18 +08:00
|
|
|
|
private Integer isValid;
|
2018-05-28 17:05:35 +08:00
|
|
|
|
@Expose
|
2018-05-29 12:48:27 +08:00
|
|
|
|
private Date auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public Integer getRegionId() {
|
|
|
|
|
|
return regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRegionId(Integer regionId) {
|
|
|
|
|
|
this.regionId = regionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getGroupId() {
|
|
|
|
|
|
return groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupId(Integer groupId) {
|
|
|
|
|
|
this.groupId = groupId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getCfgType() {
|
|
|
|
|
|
return cfgType;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfgType(String cfgType) {
|
|
|
|
|
|
this.cfgType = cfgType;
|
|
|
|
|
|
}
|
2018-06-04 17:42:10 +08:00
|
|
|
|
public Long getRawLen() {
|
2018-05-22 16:04:18 +08:00
|
|
|
|
return rawLen;
|
|
|
|
|
|
}
|
2018-06-04 17:42:10 +08:00
|
|
|
|
public void setRawLen(Long rawLen) {
|
2018-05-22 16:04:18 +08:00
|
|
|
|
this.rawLen = rawLen;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getDigest() {
|
|
|
|
|
|
return digest;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDigest(String digest) {
|
|
|
|
|
|
this.digest = digest;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getCfdsLevel() {
|
|
|
|
|
|
return cfdsLevel;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCfdsLevel(Integer cfdsLevel) {
|
|
|
|
|
|
this.cfdsLevel = cfdsLevel;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
2018-05-22 16:04:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getCompileId() {
|
|
|
|
|
|
return compileId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setCompileId(Integer compileId) {
|
|
|
|
|
|
this.compileId = compileId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getAction() {
|
|
|
|
|
|
return action;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAction(Integer action) {
|
|
|
|
|
|
this.action = action;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getServiceId() {
|
|
|
|
|
|
return serviceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setServiceId(Integer serviceId) {
|
|
|
|
|
|
this.serviceId = serviceId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getClassify() {
|
|
|
|
|
|
return classify;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setClassify(String classify) {
|
|
|
|
|
|
this.classify = classify;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getAttribute() {
|
|
|
|
|
|
return attribute;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAttribute(String attribute) {
|
|
|
|
|
|
this.attribute = attribute;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getLable() {
|
|
|
|
|
|
return lable;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setLable(String lable) {
|
|
|
|
|
|
this.lable = lable;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getTaskId() {
|
|
|
|
|
|
return taskId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setTaskId(Integer taskId) {
|
|
|
|
|
|
this.taskId = taskId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getFunctionId() {
|
|
|
|
|
|
return functionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setFunctionId(Integer functionId) {
|
|
|
|
|
|
this.functionId = functionId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getAreaEffectiveIds() {
|
|
|
|
|
|
return areaEffectiveIds;
|
|
|
|
|
|
}
|
2018-07-26 10:05:10 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* areaEffectiveIds
|
|
|
|
|
|
* areaEffectiveIds=7242:5,7212:4,7122:3
|
|
|
|
|
|
* 接口要求格式为:72425,72124,71223
|
|
|
|
|
|
* @param areaEffectiveIds
|
|
|
|
|
|
*/
|
2018-05-22 16:04:18 +08:00
|
|
|
|
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
2018-06-11 09:46:58 +08:00
|
|
|
|
if(StringUtils.isEmpty(areaEffectiveIds)){
|
|
|
|
|
|
areaEffectiveIds="0";
|
2018-09-28 12:00:13 +08:00
|
|
|
|
}else {
|
|
|
|
|
|
// 组织区域、运营商配置下发格式
|
|
|
|
|
|
SysDictInfoService service = SpringContextHolder.getBean(SysDictInfoService.class);
|
|
|
|
|
|
areaEffectiveIds = service.setEffectiveRange(areaEffectiveIds);
|
2018-06-11 09:46:58 +08:00
|
|
|
|
}
|
2018-05-22 16:04:18 +08:00
|
|
|
|
this.areaEffectiveIds = areaEffectiveIds;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getDoBlackList() {
|
2018-12-22 12:55:24 +06:00
|
|
|
|
if(doBlackList==null){
|
|
|
|
|
|
doBlackList = 1;
|
|
|
|
|
|
}
|
2018-05-22 16:04:18 +08:00
|
|
|
|
return doBlackList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDoBlackList(Integer doBlackList) {
|
|
|
|
|
|
this.doBlackList = doBlackList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getDoLog() {
|
|
|
|
|
|
return doLog;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDoLog(Integer doLog) {
|
|
|
|
|
|
this.doLog = doLog;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getActiveSys() {
|
|
|
|
|
|
return activeSys;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setActiveSys(Integer activeSys) {
|
|
|
|
|
|
this.activeSys = activeSys;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getConfigPercent() {
|
|
|
|
|
|
return configPercent;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setConfigPercent(Integer configPercent) {
|
|
|
|
|
|
this.configPercent = configPercent;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getConfigOption() {
|
|
|
|
|
|
return configOption;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setConfigOption(Integer configOption) {
|
|
|
|
|
|
this.configOption = configOption;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Date getStartTime() {
|
|
|
|
|
|
return startTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setStartTime(Date startTime) {
|
|
|
|
|
|
this.startTime = startTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Date getEndTime() {
|
|
|
|
|
|
return endTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setEndTime(Date endTime) {
|
|
|
|
|
|
this.endTime = endTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public String getUserRegion() {
|
|
|
|
|
|
return userRegion;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setUserRegion(String userRegion) {
|
2018-08-06 11:02:28 +08:00
|
|
|
|
userRegion=BaseService.keywordsEscape(userRegion);
|
2018-05-22 16:04:18 +08:00
|
|
|
|
this.userRegion = userRegion;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getGroupNum() {
|
|
|
|
|
|
return groupNum;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupNum(Integer groupNum) {
|
|
|
|
|
|
this.groupNum = groupNum;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Integer getFatherCfgId() {
|
|
|
|
|
|
return fatherCfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setFatherCfgId(Integer fatherCfgId) {
|
|
|
|
|
|
this.fatherCfgId = fatherCfgId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Date getAuditTime() {
|
|
|
|
|
|
return auditTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAuditTime(Date auditTime) {
|
|
|
|
|
|
this.auditTime = auditTime;
|
|
|
|
|
|
}
|
|
|
|
|
|
public List<GroupCfg> getGroupRelationList() {
|
|
|
|
|
|
return groupRelationList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setGroupRelationList(List<GroupCfg> groupRelationList) {
|
|
|
|
|
|
this.groupRelationList = groupRelationList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public List<StringCfg> getStrRegionList() {
|
|
|
|
|
|
return strRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setStrRegionList(List<StringCfg> strRegionList) {
|
|
|
|
|
|
this.strRegionList = strRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public List<IpCfg> getIpRegionList() {
|
|
|
|
|
|
return ipRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIpRegionList(List<IpCfg> ipRegionList) {
|
|
|
|
|
|
this.ipRegionList = ipRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public List<NumBoundaryCfg> getNumRegionList() {
|
|
|
|
|
|
return numRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setNumRegionList(List<NumBoundaryCfg> numRegionList) {
|
|
|
|
|
|
this.numRegionList = numRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public List<DigestCfg> getDigestRegionList() {
|
|
|
|
|
|
return digestRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setDigestRegionList(List<DigestCfg> digestRegionList) {
|
|
|
|
|
|
this.digestRegionList = digestRegionList;
|
2018-03-05 16:30:16 +08:00
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public List<IpCfg> getAreaIpRegionList() {
|
|
|
|
|
|
return areaIpRegionList;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAreaIpRegionList(List<IpCfg> areaIpRegionList) {
|
|
|
|
|
|
this.areaIpRegionList = areaIpRegionList;
|
|
|
|
|
|
}
|
2018-05-29 15:37:48 +08:00
|
|
|
|
public Integer getIsValid() {
|
|
|
|
|
|
return isValid;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIsValid(Integer isValid) {
|
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
|
}
|
2018-07-26 11:04:57 +08:00
|
|
|
|
|
|
|
|
|
|
public Integer getRequestId() {
|
|
|
|
|
|
return requestId;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setRequestId(Integer requestId) {
|
|
|
|
|
|
this.requestId = requestId;
|
|
|
|
|
|
}
|
2018-05-29 12:48:27 +08:00
|
|
|
|
public void initDefaultValue() {
|
2018-07-27 10:25:31 +08:00
|
|
|
|
this.doLog=Constants.MAAT_CFG_DOLOG_DEFAULT;
|
2018-12-22 12:55:24 +06:00
|
|
|
|
// this.doBlackList=Constants.MAAT_CFG_DOLOG_DOBLACKLIST_DEFAULT;
|
2018-07-27 10:25:31 +08:00
|
|
|
|
this.configPercent=Constants.MAAT_CFG_DOLOG_CONFIGPERCENT_DEFAULT;
|
|
|
|
|
|
this.configOption=Constants.MAAT_CFG_DOLOG_CONFIGOPTION_DEFAULT;
|
2018-05-29 12:48:27 +08:00
|
|
|
|
this.startTime=new Date();
|
2018-06-22 15:16:08 +08:00
|
|
|
|
this.endTime=DateUtils.addYears(this.startTime, 2099-Integer.parseInt(DateUtils.getYear()));
|
2018-05-29 12:48:27 +08:00
|
|
|
|
this.fatherCfgId=0;
|
2018-09-13 18:26:19 +08:00
|
|
|
|
this.taskId=0;
|
2018-06-22 15:16:08 +08:00
|
|
|
|
//初始化用户定义域占位符,对用户定义域有特殊格式的业务,根据分隔符拆分占位符,在相应位置填写相应参数值
|
2018-07-20 10:15:50 +08:00
|
|
|
|
this.userRegion = Constants.USER_REGION_PLACEHOLDER;
|
2018-05-29 12:48:27 +08:00
|
|
|
|
}
|
2018-03-05 16:30:16 +08:00
|
|
|
|
}
|