1、删除无用类和方法;

2、修改异常处理方式,一直往上抛在controller里记录日志并返回给客户端;
3、回调类配置新增时isValid只能为1
This commit is contained in:
zhangdongxu
2018-08-10 15:14:12 +08:00
parent 329b79607e
commit eb49689c55
83 changed files with 627 additions and 14591 deletions

View File

@@ -1,179 +0,0 @@
/**
* @Title: LogEntity.java
* @Package com.nis.domain
* @Description: TODO(用一句话描述该文件做什么)
* @author darnell
* @date 2016年9月1日 上午10:16:54
* @version V1.0
*/
package com.nis.domain;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import javax.xml.bind.annotation.XmlTransient;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.collect.Maps;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* @ClassName: DfJitLogEntity
* @Description: TODO(实时统计公共实体部分)
* @author (rkg)
* @date 2016年9月13日下午2:54:12
* @version V1.0
*/
public abstract class DfJitLogEntity<T> implements Serializable {
@ApiModelProperty(value = "id", required = true)
protected Long statId;
@ApiModelProperty(value = "统计时间", required = true)
protected Date reportTime;
@ApiModelProperty(value = "ip所属国家", required = false)
protected String nation;
@ApiModelProperty(value = "ip所属省", required = false)
protected String province;
@ApiModelProperty(value = "ip所属市", required = false)
protected String city;
@ApiModelProperty(value = "日志数量", required = true)
protected Long sum;
@ApiModelProperty(value = "业务类型", required = true)
protected Integer service;
/**
* 公共查询部分
*/
protected String searchReportStartTime;
protected String searchReportEndTime;
protected String searchService;
/**
* 当前实体分页对象
*/
protected Page<T> page;
/**
* 自定义SQLSQL标识SQL内容
*/
protected Map<String, String> sqlMap;
public DfJitLogEntity() {
super();
}
public Long getStatId() {
return statId;
}
public void setStatId(Long statId) {
this.statId = statId;
}
@JsonSerialize(using = JsonDateSerializer.class)
public Date getReportTime() {
return reportTime;
}
public void setReportTime(Date reportTime) {
this.reportTime = reportTime;
}
public String getNation() {
return nation;
}
public void setNation(String nation) {
this.nation = nation;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public Long getSum() {
return sum;
}
public void setSum(Long sum) {
this.sum = sum;
}
public Integer getService() {
return service;
}
public void setService(Integer service) {
this.service = service;
}
@JsonIgnore
public String getSearchReportStartTime() {
return searchReportStartTime;
}
public void setSearchReportStartTime(String searchReportStartTime) {
this.searchReportStartTime = searchReportStartTime;
}
@JsonIgnore
public String getSearchReportEndTime() {
return searchReportEndTime;
}
public void setSearchReportEndTime(String searchReportEndTime) {
this.searchReportEndTime = searchReportEndTime;
}
@JsonIgnore
public String getSearchService() {
return searchService;
}
public void setSearchService(String searchService) {
this.searchService = searchService;
}
@JsonIgnore
@XmlTransient
public Page<T> getPage() {
if (page == null) {
page = new Page<T>();
}
return page;
}
public void setPage(Page<T> page) {
this.page = page;
}
@JsonIgnore
@XmlTransient
public Map<String, String> getSqlMap() {
if (sqlMap == null) {
sqlMap = Maps.newHashMap();
}
return sqlMap;
}
public void setSqlMap(Map<String, String> sqlMap) {
this.sqlMap = sqlMap;
}
}

View File

@@ -1,149 +0,0 @@
package com.nis.domain;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import javax.xml.bind.annotation.XmlTransient;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.collect.Maps;
import com.nis.domain.Page;
import com.nis.util.Configurations;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class DfReportEntity<T> implements Serializable {
/**
*
*/
private static final long serialVersionUID = 2990823464993846973L;
@ApiModelProperty(value = "A系统", required = true)
protected Long asum;
@ApiModelProperty(value = "B系统", required = true)
protected Long bsum;
@ApiModelProperty(value = "C系统", required = true)
protected Long csum;
@ApiModelProperty(value = "统计时间", required = true)
protected Date reportTime;
@ApiModelProperty(value = "全A+单B", required = true)
protected Long absum;
public Long getAsum() {
return asum;
}
public void setAsum(Long asum) {
this.asum = asum;
}
public Long getBsum() {
return bsum;
}
public void setBsum(Long bsum) {
this.bsum = bsum;
}
@JsonSerialize(using = JsonDateSerializer.class)
public Date getReportTime() {
return reportTime;
}
public void setReportTime(Date reportTime) {
this.reportTime = reportTime;
}
protected String searchReportStartTime;
protected String searchReportEndTime;
@JsonIgnore
public String getSearchReportStartTime() {
return searchReportStartTime;
}
public void setSearchReportStartTime(String searchReportStartTime) {
this.searchReportStartTime = searchReportStartTime;
}
@JsonIgnore
public String getSearchReportEndTime() {
return searchReportEndTime;
}
public void setSearchReportEndTime(String searchReportEndTime) {
this.searchReportEndTime = searchReportEndTime;
}
/**
* 当前实体分页对象
*/
protected Page<T> page;
/**
* 自定义SQLSQL标识SQL内容
*/
protected Map<String, String> sqlMap;
@JsonIgnore
@XmlTransient
public Page<T> getPage() {
if (page == null) {
page = new Page<T>();
}
return page;
}
public Page<T> setPage(Page<T> page) {
this.page = page;
return page;
}
@JsonIgnore
@XmlTransient
public Map<String, String> getSqlMap() {
if (sqlMap == null) {
sqlMap = Maps.newHashMap();
}
return sqlMap;
}
public void setSqlMap(Map<String, String> sqlMap) {
this.sqlMap = sqlMap;
}
/**
* 获取数据库名称
*/
@JsonIgnore
public String getDbName() {
return Configurations.getStringProperty("jdbc.type", "mysql");
}
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
public Long getAbsum() {
return absum;
}
public void setAbsum(Long absum) {
this.absum = absum;
}
public Long getCsum() {
return csum;
}
public void setCsum(Long csum) {
this.csum = csum;
}
}

View File

@@ -1,203 +0,0 @@
/**
* @Title: StatLogEntity.java
* @Package com.nis.domain
* @Description: TODO(用一句话描述该文件做什么)
* @author ddm
* @date 2016年9月13日 上午10:49:01
* @version V1.0
*/
package com.nis.domain;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import javax.xml.bind.annotation.XmlTransient;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.google.common.collect.Maps;
import com.nis.util.Configurations;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
* @ClassName: StatLogEntity
* @Description: TODO(日志报表公共实体部分)
* @author (ddm)
* @date 2016年9月1日 上午10:16:54
* @version V1.0
*/
public abstract class StatLogEntity<T> implements Serializable {
/**
* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
*/
private static final long serialVersionUID = -5210683756718456730L;
@ApiModelProperty(value="私有标签", required=true)
protected Integer service;
@ApiModelProperty(value="生效系统", required=true)
protected Integer activeSys;
@ApiModelProperty(value="A版总计", required=true)
protected Long asum;
@ApiModelProperty(value="B版总计", required=true)
protected Long bsum;
@ApiModelProperty(value="全A+单B数量", required=true)
protected Long absum;
@ApiModelProperty(value="统计时间", required=true)
protected Date statTime;
protected String searchStatStartTime;
protected String searchStatEndTime;
protected String searchService;
protected String searchStatActiveSys;
@JsonSerialize(using=JsonDateSerializer.class)
public Date getStatTime() {
return statTime;
}
public void setStatTime(Date statTime) {
this.statTime = statTime;
}
public Integer getActiveSys() {
return activeSys;
}
public void setActiveSys(Integer activeSys) {
this.activeSys = activeSys;
}
public Integer getService() {
return service;
}
public void setService(Integer service) {
this.service = service;
}
public Long getAbsum() {
return absum;
}
public Long getBsum() {
return bsum;
}
public void setAbsum(Long absum) {
this.absum = absum;
}
public void setBsum(Long bsum) {
this.bsum = bsum;
}
public Long getAsum() {
return asum;
}
public void setAsum(Long asum) {
this.asum = asum;
}
@JsonIgnore
public String getSearchStatStartTime() {
return searchStatStartTime;
}
public void setSearchStatStartTime(String searchStatStartTime) {
this.searchStatStartTime = searchStatStartTime;
}
@JsonIgnore
public String getSearchStatEndTime() {
return searchStatEndTime;
}
public void setSearchStatEndTime(String searchStatEndTime) {
this.searchStatEndTime = searchStatEndTime;
}
@JsonIgnore
public String getSearchService() {
return searchService;
}
public void setSearchService(String searchService) {
this.searchService = searchService;
}
@JsonIgnore
public String getSearchStatActiveSys() {
return searchStatActiveSys;
}
public void setSearchStatActiveSys(String searchStatActiveSys) {
this.searchStatActiveSys = searchStatActiveSys;
}
/**
* 当前实体分页对象
*/
protected Page<T> page;
/**
* 自定义SQLSQL标识SQL内容
*/
protected Map<String, String> sqlMap;
/**
* @Title:
* @Description: TODO
* @param 入参
*/
public StatLogEntity() {
super();
}
@JsonIgnore
@XmlTransient
public Page<T> getPage() {
if (page == null){
page = new Page<T>();
}
return page;
}
public Page<T> setPage(Page<T> page) {
this.page = page;
return page;
}
@JsonIgnore
@XmlTransient
public Map<String, String> getSqlMap() {
if (sqlMap == null){
sqlMap = Maps.newHashMap();
}
return sqlMap;
}
public void setSqlMap(Map<String, String> sqlMap) {
this.sqlMap = sqlMap;
}
/**
* 获取数据库名称
*/
@JsonIgnore
public String getDbName(){
return Configurations.getStringProperty("jdbc.type", "mysql");
}
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}

View File

@@ -1,82 +0,0 @@
/**
* @Title: DfConfigCompile.java
* @Package com.nis.domain.restful
* @Description: TODO(用一句话描述该文件做什么)
* @author darnell
* @date 2016年8月29日 下午9:36:28
* @version V1.0
*/
package com.nis.domain.restful;
import com.nis.domain.Page;
/**
* @ClassName: DfConfigCompile
* @Description: TODO(这里用一句话描述这个类的作用)
* @author (darnell)
* @date 2016年8月29日 下午9:36:28
* @version V1.0
*/
public class ConfigCompileTest extends ConfigCompile {
/**
*
*/
private static final long serialVersionUID = 3662236229622771720L;
private Integer pagesNo; // 当前页码
private Integer pagesSize;// 每页显示条数
private Long pagesCount;// 总记录数,设置为“-1”表示不查询总数
private Page<ConfigCompileTest> page;
private String searchStartTime;
private String searchEndTime;
public Integer getPagesNo() {
return pagesNo;
}
public void setPagesNo(Integer pagesNo) {
this.pagesNo = pagesNo;
}
public Integer getPagesSize() {
return pagesSize;
}
public void setPagesSize(Integer pagesSize) {
this.pagesSize = pagesSize;
}
public Long getPagesCount() {
return pagesCount;
}
public void setPagesCount(Long pagesCount) {
this.pagesCount = pagesCount;
}
public Page<ConfigCompileTest> getPage() {
return page;
}
public void setPage(Page<ConfigCompileTest> page) {
this.page = page;
}
public String getSearchStartTime() {
return searchStartTime;
}
public void setSearchStartTime(String searchStartTime) {
this.searchStartTime = searchStartTime;
}
public String getSearchEndTime() {
return searchEndTime;
}
public void setSearchEndTime(String searchEndTime) {
this.searchEndTime = searchEndTime;
}
}

View File

@@ -1,10 +0,0 @@
package com.nis.domain.restful;
public class ConfigGroupRelationTest extends ConfigGroupRelation{
/**
*
*/
private static final long serialVersionUID = -1253613918276476050L;
}

View File

@@ -1,25 +0,0 @@
/**
* @Title: ConfigSource.java
* @Package com.nis.domain.restful
* @Description: TODO(用一句话描述该文件做什么)
* @author darnell
* @date 2016年8月29日 下午9:31:24
* @version V1.0
*/
package com.nis.domain.restful;
/**
* @ClassName: ConfigSource
* @Description: TODO(这里用一句话描述这个类的作用)
* @author (darnell)
* @date 2016年8月29日 下午9:31:24
* @version V1.0
*/
public class ConfigSourceTest extends ConfigSource {
/**
*
*/
private static final long serialVersionUID = -2641336050368126171L;
}

View File

@@ -1,121 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* @ClassName: DmbCk.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:22:14
* @version V1.0
*/
public class DmbCk extends BaseEntity<DmbCk>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -2268609209854016029L;
@ApiModelProperty(value="国际出口ID", required=true)
private Long id;
@ApiModelProperty(value="出口名称", required=true)
private String name;
@ApiModelProperty(value="出口位置", required=true)
private String position;
@ApiModelProperty(value="通讯方法", required=true)
private String comOption;
@ApiModelProperty(value="操作员", required=true)
private Long czyid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position == null ? null : position.trim();
}
public String getComOption() {
return comOption;
}
public void setComOption(String comOption) {
this.comOption = comOption == null ? null : comOption.trim();
}
public Long getCzyid() {
return czyid;
}
public void setCzyid(Long czyid) {
this.czyid = czyid;
}
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
}

View File

@@ -1,120 +0,0 @@
/**
*@Title: DmbCkSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月9日 上午9:53:04
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DmbCkSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:53:04
* @version V1.0
*/
public class DmbCkSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 262835095511967504L;
private static final String DEFAULT_VERSION = "1.0";
private List<DmbCk> dmbCkList;
/**
* 创建一个新的实例 DmbCkSource.
*
*/
public DmbCkSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DmbCkSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* dmbCkList
* @return dmbCkList
*/
public List<DmbCk> getDmbCkList() {
return dmbCkList;
}
/**
* @param dmbCkList the dmbCkList to set
*/
public void setDmbCkList(List<DmbCk> dmbCkList) {
this.dmbCkList = dmbCkList;
}
}

View File

@@ -1,168 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* @ClassName: DmbPort.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:23:08
* @version V1.0
*/
public class DmbPort extends BaseEntity<DmbPort>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -6308234862307401069L;
@ApiModelProperty(value="端口ID", required=true)
private Long id;
@ApiModelProperty(value="国际出口ID", required=true)
private Long entranceId;
@ApiModelProperty(value="端口名称", required=true)
private String portName;
@ApiModelProperty(value="是否使用", required=true)
private Integer isUsed;
@ApiModelProperty(value="管理IP", required=true)
private String ipDz;
@ApiModelProperty(value="分流设备", required=true)
private String portEquipment;
@ApiModelProperty(value="ODF端口", required=true)
private String odfPort;
@ApiModelProperty(value="机房地址", required=true)
private String addr;
@ApiModelProperty(value="骨干设备端口", required=true)
private String ckPort;
@ApiModelProperty(value="操作员", required=true)
private Long czyid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getEntranceId() {
return entranceId;
}
public void setEntranceId(Long entranceId) {
this.entranceId = entranceId;
}
public String getPortName() {
return portName;
}
public void setPortName(String portName) {
this.portName = portName == null ? null : portName.trim();
}
public Integer getIsUsed() {
return isUsed;
}
public void setIsUsed(Integer isUsed) {
this.isUsed = isUsed;
}
public String getIpDz() {
return ipDz;
}
public void setIpDz(String ipDz) {
this.ipDz = ipDz == null ? null : ipDz.trim();
}
public String getPortEquipment() {
return portEquipment;
}
public void setPortEquipment(String portEquipment) {
this.portEquipment = portEquipment == null ? null : portEquipment.trim();
}
public String getOdfPort() {
return odfPort;
}
public void setOdfPort(String odfPort) {
this.odfPort = odfPort == null ? null : odfPort.trim();
}
public String getAddr() {
return addr;
}
public void setAddr(String addr) {
this.addr = addr == null ? null : addr.trim();
}
public String getCkPort() {
return ckPort;
}
public void setCkPort(String ckPort) {
this.ckPort = ckPort == null ? null : ckPort.trim();
}
public Long getCzyid() {
return czyid;
}
public void setCzyid(Long czyid) {
this.czyid = czyid;
}
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
}

View File

@@ -1,121 +0,0 @@
/**
*@Title: DmbPortSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月9日 上午9:53:04
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DmbPortSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:53:04
* @version V1.0
*/
public class DmbPortSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 262835095511967504L;
private static final String DEFAULT_VERSION = "1.0";
private List<DmbPort> dmbPortList;
/**
* 创建一个新的实例 DmbPortSource.
*
*/
public DmbPortSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DmbPortSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* dmbPortList
* @return dmbPortList
*/
public List<DmbPort> getDmbPortList() {
return dmbPortList;
}
/**
* @param dmbPortList the dmbPortList to set
*/
public void setDmbPortList(List<DmbPort> dmbPortList) {
this.dmbPortList = dmbPortList;
}
}

View File

@@ -1,227 +0,0 @@
/**
*@Title: DnsFakeInfo.java
*@Package com.nis.domain.restful
*@Description TODO
*@author wx
*@date 2016年9月5日 上午10:03:16
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
* @ClassName: DnsFakeInfo.java
* @Description: TODO
* @author (wx)
* @date 2016年9月5日 上午10:03:16
* @version V1.0
*/
public class DnsFakeInfo extends BaseEntity<DnsFakeInfo> {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 2614513161019844185L;
@ApiModelProperty(value="序号", required=true)
private Long id;
@ApiModelProperty(value="组号", required=true)
private Integer groupId;
@ApiModelProperty(value="信息域", required=true)
private String info;
@ApiModelProperty(value="有效标志0无效1有效", required=true)
private Integer isValid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
@ApiModelProperty(value="预留1", required=false)
private Integer yl1;
@ApiModelProperty(value="预留2", required=false)
private Integer yl2;
@ApiModelProperty(value="预留3", required=false)
private String yl3;
@ApiModelProperty(value="预留4", required=false)
private String yl4;
@ApiModelProperty(value="预留5", required=false)
private String yl5;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* id
* @return id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* groupId
* @return groupId
*/
public Integer getGroupId() {
return groupId;
}
/**
* @param groupId the groupId to set
*/
public void setGroupId(Integer groupId) {
this.groupId = groupId;
}
/**
* info
* @return info
*/
public String getInfo() {
return info;
}
/**
* @param info the info to set
*/
public void setInfo(String info) {
this.info = info;
}
/**
* isValid
* @return isValid
*/
public Integer getIsValid() {
return isValid;
}
/**
* @param isValid the isValid to set
*/
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
/**
* opTime
* @return opTime
*/
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
/**
* @param opTime the opTime to set
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* yl1
* @return yl1
*/
public Integer getYl1() {
return yl1;
}
/**
* @param yl1 the yl1 to set
*/
public void setYl1(Integer yl1) {
this.yl1 = yl1;
}
/**
* yl2
* @return yl2
*/
public Integer getYl2() {
return yl2;
}
/**
* @param yl2 the yl2 to set
*/
public void setYl2(Integer yl2) {
this.yl2 = yl2;
}
/**
* yl3
* @return yl3
*/
public String getYl3() {
return yl3;
}
/**
* @param yl3 the yl3 to set
*/
public void setYl3(String yl3) {
this.yl3 = yl3;
}
/**
* yl4
* @return yl4
*/
public String getYl4() {
return yl4;
}
/**
* @param yl4 the yl4 to set
*/
public void setYl4(String yl4) {
this.yl4 = yl4;
}
/**
* yl5
* @return yl5
*/
public String getYl5() {
return yl5;
}
/**
* @param yl5 the yl5 to set
*/
public void setYl5(String yl5) {
this.yl5 = yl5;
}
}

View File

@@ -1,125 +0,0 @@
/**
*@Title: DnsFakeInfoSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月7日 下午6:26:06
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DnsFakeInfoSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月7日 下午6:26:06
* @version V1.0
*/
public class DnsFakeInfoSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4075912540188044069L;
private static final String DEFAULT_VERSION = "1.0";
private List<DnsFakeInfo> dnsFakeInfoList;
/**
* 创建一个新的实例 DnsFakeInfoSource.
*
*/
public DnsFakeInfoSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DnsFakeInfoSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
*
* getDnsFakeInfoList(这里用一句话描述这个方法的作用)
* (这里描述这个方法适用条件 可选)
* @return
*List<DnsFakeInfo>
* @exception
* @since 1.0.0
*/
public List<DnsFakeInfo> getDnsFakeInfoList() {
return dnsFakeInfoList;
}
/**
* @param dnsGroupTypeList the dnsGroupTypeList to set
*/
public void setDnsFakeInfoList(List<DnsFakeInfo> dnsFakeIpList) {
this.dnsFakeInfoList = dnsFakeIpList;
}
}

View File

@@ -1,391 +0,0 @@
/**
*@Title: DnsFakeIp.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月3日 下午7:59:34
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
* @ClassName: DnsFakeIp.java
* @Description: TODO
* @author (wx)
* @date 2016年9月3日 下午7:59:34
* @version V1.0
*/
public class DnsFakeIp extends BaseEntity<DnsFakeIp> {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4761419421560750644L;
@ApiModelProperty(value="序号", required=true)
private Long id;
@ApiModelProperty(value="组号", required=true)
private Integer groupId;
@ApiModelProperty(value="地址类型", required=true)
private Integer addrType;
@ApiModelProperty(value="源IP地址", required=true)
private String srcIp;
@ApiModelProperty(value="源IP掩码", required=true)
private String maskSrcIp;
@ApiModelProperty(value="源端口", required=true)
private String srcPort;
@ApiModelProperty(value="源端口掩码", required=true)
private String maskSrcPort;
@ApiModelProperty(value="目的IP", required=true)
private String dstIp;
@ApiModelProperty(value="目的IP掩码", required=true)
private String maskDstIp;
@ApiModelProperty(value="目的端口", required=true)
private String dstPort;
@ApiModelProperty(value="目的端口掩码", required=true)
private String maskDstPort;
@ApiModelProperty(value="协议(tcp/udp)", required=true)
private Integer protocol;
@ApiModelProperty(value="方向0双向1单向", required=true)
private Integer direction;
@ApiModelProperty(value="有效标志, 0无效1有效", required=true)
private Integer isValid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
@ApiModelProperty(value="预留1", required=false)
private Integer yl1;
@ApiModelProperty(value="预留2", required=false)
private Integer yl2;
@ApiModelProperty(value="预留3", required=false)
private String yl3;
@ApiModelProperty(value="预留4", required=false)
private String yl4;
@ApiModelProperty(value="预留5", required=false)
private String yl5;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* id
* @return id
*/
public Long getId() {
return id;
}
/**
* maskSrcIp
* @return maskSrcIp
*/
public String getMaskSrcIp() {
return maskSrcIp;
}
/**
* @param maskSrcIp the maskSrcIp to set
*/
public void setMaskSrcIp(String maskSrcIp) {
this.maskSrcIp = maskSrcIp;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* groupId
* @return groupId
*/
public Integer getGroupId() {
return groupId;
}
/**
* @param groupId the groupId to set
*/
public void setGroupId(Integer groupId) {
this.groupId = groupId;
}
/**
* addrType
* @return addrType
*/
public Integer getAddrType() {
return addrType;
}
/**
* @param addrType the addrType to set
*/
public void setAddrType(Integer addrType) {
this.addrType = addrType;
}
/**
* srcIp
* @return srcIp
*/
public String getSrcIp() {
return srcIp;
}
/**
* @param srcIp the srcIp to set
*/
public void setSrcIp(String srcIp) {
this.srcIp = srcIp;
}
/**
* maskSrcPort
* @return maskSrcPort
*/
public String getMaskSrcPort() {
return maskSrcPort;
}
/**
* @param maskSrcPort the maskSrcPort to set
*/
public void setMaskSrcPort(String maskSrcPort) {
this.maskSrcPort = maskSrcPort;
}
/**
* srcPort
* @return srcPort
*/
public String getSrcPort() {
return srcPort;
}
/**
* @param srcPort the srcPort to set
*/
public void setSrcPort(String srcPort) {
this.srcPort = srcPort;
}
/**
* dstIp
* @return dstIp
*/
public String getDstIp() {
return dstIp;
}
/**
* @param dstIp the dstIp to set
*/
public void setDstIp(String dstIp) {
this.dstIp = dstIp;
}
/**
* maskDstIp
* @return maskDstIp
*/
public String getMaskDstIp() {
return maskDstIp;
}
/**
* @param maskDstIp the maskDstIp to set
*/
public void setMaskDstIp(String maskDstIp) {
this.maskDstIp = maskDstIp;
}
/**
* dstPort
* @return dstPort
*/
public String getDstPort() {
return dstPort;
}
/**
* @param dstPort the dstPort to set
*/
public void setDstPort(String dstPort) {
this.dstPort = dstPort;
}
/**
* maskDstPort
* @return maskDstPort
*/
public String getMaskDstPort() {
return maskDstPort;
}
/**
* @param maskDstPort the maskDstPort to set
*/
public void setMaskDstPort(String maskDstPort) {
this.maskDstPort = maskDstPort;
}
/**
* protocol
* @return protocol
*/
public Integer getProtocol() {
return protocol;
}
/**
* @param protocol the protocol to set
*/
public void setProtocol(Integer protocol) {
this.protocol = protocol;
}
/**
* direction
* @return direction
*/
public Integer getDirection() {
return direction;
}
/**
* @param direction the direction to set
*/
public void setDirection(Integer direction) {
this.direction = direction;
}
/**
* isValid
* @return isValid
*/
public Integer getIsValid() {
return isValid;
}
/**
* @param isValid the isValid to set
*/
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
/**
* optTime
* @return optTime
*/
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
/**
* @param optTime the optTime to set
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* yl1
* @return yl1
*/
public Integer getYl1() {
return yl1;
}
/**
* @param yl1 the yl1 to set
*/
public void setYl1(Integer yl1) {
this.yl1 = yl1;
}
/**
* yl2
* @return yl2
*/
public Integer getYl2() {
return yl2;
}
/**
* @param yl2 the yl2 to set
*/
public void setYl2(Integer yl2) {
this.yl2 = yl2;
}
/**
* yl3
* @return yl3
*/
public String getYl3() {
return yl3;
}
/**
* @param yl3 the yl3 to set
*/
public void setYl3(String yl3) {
this.yl3 = yl3;
}
/**
* yl4
* @return yl4
*/
public String getYl4() {
return yl4;
}
/**
* @param yl4 the yl4 to set
*/
public void setYl4(String yl4) {
this.yl4 = yl4;
}
/**
* yl5
* @return yl5
*/
public String getYl5() {
return yl5;
}
/**
* @param yl5 the yl5 to set
*/
public void setYl5(String yl5) {
this.yl5 = yl5;
}
}

View File

@@ -1,125 +0,0 @@
/**
*@Title: DnsFakeIpSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月7日 下午6:26:06
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DnsFakeIpSource.java
* @Description: TODO
* @author (dell)
* @date 2016年9月7日 下午6:26:06
* @version V1.0
*/
public class DnsFakeIpSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -6785885766516678348L;
private static final String DEFAULT_VERSION = "1.0";
private List<DnsFakeIp> dnsFakeIpList;
/**
* 创建一个新的实例 DnsGroupTypeSource.
*
*/
public DnsFakeIpSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DnsFakeIpSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* dnsResponseStrategyList
* @return dnsResponseStrategyList
*/
/**
* dnsGroupTypeList
* @return dnsGroupTypeList
*/
public List<DnsFakeIp> getDnsFakeIpList() {
return dnsFakeIpList;
}
/**
* @param dnsGroupTypeList the dnsGroupTypeList to set
*/
public void setDnsFakeIpList(List<DnsFakeIp> dnsFakeIpList) {
this.dnsFakeIpList = dnsFakeIpList;
}
}

View File

@@ -1,245 +0,0 @@
/**
*@Title: DnsGroupType.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月3日 下午7:47:28
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
* @ClassName: DnsGroupType.java
* @Description: TODO
* @author (wx)
* @date 2016年9月3日 下午7:47:28
* @version V1.0
*/
public class DnsGroupType extends BaseEntity<DnsGroupType> {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -7012538382953700633L;
@ApiModelProperty(value="序号", required=true)
private Long id;
@ApiModelProperty(value="组号", required=true)
private Integer groupId;
@ApiModelProperty(value="组名", required=true)
private String groupName;
@ApiModelProperty(value="应答类型号", required=true)
private Integer resTypeId;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
@ApiModelProperty(value="有效标志", required=true)
private Integer isValid;
@ApiModelProperty(value="预留1", required=false)
private Integer yl1;
@ApiModelProperty(value="预留2", required=false)
private Integer yl2;
@ApiModelProperty(value="预留3", required=false)
private String yl3;
@ApiModelProperty(value="预留4", required=false)
private String yl4;
@ApiModelProperty(value="预留5", required=false)
private String yl5;
private Date lastUpdate;
private Long procSeq;
/**
* groupName
* @return groupName
*/
public String getGroupName() {
return groupName;
}
/**
* @param groupName the groupName to set
*/
public void setGroupName(String groupName) {
this.groupName = groupName;
}
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* id
* @return id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* groupId
* @return groupId
*/
public Integer getGroupId() {
return groupId;
}
/**
* @param groupId the groupId to set
*/
public void setGroupId(Integer groupId) {
this.groupId = groupId;
}
/**
* resTypeId
* @return resTypeId
*/
public Integer getResTypeId() {
return resTypeId;
}
/**
* @param resTypeId the resTypeId to set
*/
public void setResTypeId(Integer resTypeId) {
this.resTypeId = resTypeId;
}
/**
* opTime
* @return opTime
*/
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
/**
* @param opTime the opTime to set
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* isValid
* @return isValid
*/
public Integer getIsValid() {
return isValid;
}
/**
* @param isValid the isValid to set
*/
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
/**
* yl1
* @return yl1
*/
public Integer getYl1() {
return yl1;
}
/**
* @param yl1 the yl1 to set
*/
public void setYl1(Integer yl1) {
this.yl1 = yl1;
}
/**
* yl2
* @return yl2
*/
public Integer getYl2() {
return yl2;
}
/**
* @param yl2 the yl2 to set
*/
public void setYl2(Integer yl2) {
this.yl2 = yl2;
}
/**
* yl3
* @return yl3
*/
public String getYl3() {
return yl3;
}
/**
* @param yl3 the yl3 to set
*/
public void setYl3(String yl3) {
this.yl3 = yl3;
}
/**
* yl4
* @return yl4
*/
public String getYl4() {
return yl4;
}
/**
* @param yl4 the yl4 to set
*/
public void setYl4(String yl4) {
this.yl4 = yl4;
}
/**
* yl5
* @return yl5
*/
public String getYl5() {
return yl5;
}
/**
* @param yl5 the yl5 to set
*/
public void setYl5(String yl5) {
this.yl5 = yl5;
}
}

View File

@@ -1,124 +0,0 @@
/**
*@Title: DnsGroupTypeSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月7日 下午3:32:18
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DnsGroupTypeSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月7日 下午3:32:18
* @version V1.0
*/
public class DnsGroupTypeSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 4829973369982149866L;
private static final String DEFAULT_VERSION = "1.0";
private List<DnsGroupType> dnsGroupTypeList;
/**
* 创建一个新的实例 DnsGroupTypeSource.
*
*/
public DnsGroupTypeSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DnsGroupTypeSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* dnsResponseStrategyList
* @return dnsResponseStrategyList
*/
/**
* dnsGroupTypeList
* @return dnsGroupTypeList
*/
public List<DnsGroupType> getDnsGroupTypeList() {
return dnsGroupTypeList;
}
/**
* @param dnsGroupTypeList the dnsGroupTypeList to set
*/
public void setDnsGroupTypeList(List<DnsGroupType> dnsGroupTypeList) {
this.dnsGroupTypeList = dnsGroupTypeList;
}
}

View File

@@ -1,457 +0,0 @@
/**
*@Title: DnsResponseStrategy.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月3日 下午7:01:02
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
* @ClassName: DnsResponseStrategy.java
* @Description: TODO
* @author (wx)
* @date 2016年9月3日 下午7:01:02
* @version V1.0
*/
@ApiModel
public class DnsResponseStrategy extends BaseEntity<DnsResponseStrategy> {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4484073380296557600L;
@ApiModelProperty(value="序号", required=true)
private Long id;
@ApiModelProperty(value="请求策略号", required=true)
private Integer reqStrateId;
@ApiModelProperty(value="策略名称", required=true)
private String strateName;
@ApiModelProperty(value="应答组1的组号", required=false)
private Integer resGroupOneId;
@ApiModelProperty(value="应答组1的应答数", required=false)
private Integer resGroupOneNum;
@ApiModelProperty(value="应答组2的组号", required=false)
private Integer resGroupTwoId;
@ApiModelProperty(value="应答组2的应答数", required=false)
private Integer resGroupTwoNum;
@ApiModelProperty(value="应答组3的组号", required=false)
private Integer resGroupThreeId;
@ApiModelProperty(value="应答组3的应答数", required=false)
private Integer resGroupThreeNum;
@ApiModelProperty(value="应答组4的组号", required=false)
private Integer resGroupFourId;
@ApiModelProperty(value="应答组4的应答数", required=false)
private Integer resGroupFourNum;
@ApiModelProperty(value="应答组5的组号", required=false)
private Integer resGroupFiveId;
@ApiModelProperty(value="应答组5的应答数", required=false)
private Integer resGroupFiveNum;
@ApiModelProperty(value="Auth记录组号", required=false)
private Integer authGroup;
@ApiModelProperty(value="Additional记录组号", required=false)
private Integer addGroup;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
@ApiModelProperty(value="有效标识", required=true)
private Integer isValid;
@ApiModelProperty(value="预留1", required=false)
private Integer yl1;
@ApiModelProperty(value="预留2", required=false)
private Integer yl2;
@ApiModelProperty(value="预留3", required=false)
private String yl3;
@ApiModelProperty(value="预留4", required=false)
private String yl4;
@ApiModelProperty(value="预留5", required=false)
private String yl5;
private Date lastUpdate;
private Long procSeq;
@ApiModelProperty(value="最小生存时间", required=true)
private Integer minTtl;
@ApiModelProperty(value="最大生存时间", required=true)
private Integer maxTtl;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* id
* @return id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* reqStrateId
* @return reqStrateId
*/
public Integer getReqStrateId() {
return reqStrateId;
}
/**
* @param reqStrateId the reqStrateId to set
*/
public void setReqStrateId(Integer reqStrateId) {
this.reqStrateId = reqStrateId;
}
/**
* strateName
* @return strateName
*/
public String getStrateName() {
return strateName;
}
/**
* @param strateName the strateName to set
*/
public void setStrateName(String strateName) {
this.strateName = strateName;
}
/**
* resGroupOneId
* @return resGroupOneId
*/
public Integer getResGroupOneId() {
return resGroupOneId;
}
/**
* @param resGroupOneId the resGroupOneId to set
*/
public void setResGroupOneId(Integer resGroupOneId) {
this.resGroupOneId = resGroupOneId;
}
/**
* resGroupOneNum
* @return resGroupOneNum
*/
public Integer getResGroupOneNum() {
return resGroupOneNum;
}
/**
* @param resGroupOneNum the resGroupOneNum to set
*/
public void setResGroupOneNum(Integer resGroupOneNum) {
this.resGroupOneNum = resGroupOneNum;
}
/**
* resGroupTwoId
* @return resGroupTwoId
*/
public Integer getResGroupTwoId() {
return resGroupTwoId;
}
/**
* @param resGroupTwoId the resGroupTwoId to set
*/
public void setResGroupTwoId(Integer resGroupTwoId) {
this.resGroupTwoId = resGroupTwoId;
}
/**
* resGroupTwoNum
* @return resGroupTwoNum
*/
public Integer getResGroupTwoNum() {
return resGroupTwoNum;
}
/**
* @param resGroupTwoNum the resGroupTwoNum to set
*/
public void setResGroupTwoNum(Integer resGroupTwoNum) {
this.resGroupTwoNum = resGroupTwoNum;
}
/**
* authGroup
* @return authGroup
*/
public Integer getAuthGroup() {
return authGroup;
}
/**
* @param authGroup the authGroup to set
*/
public void setAuthGroup(Integer authGroup) {
this.authGroup = authGroup;
}
/**
* addGroup
* @return addGroup
*/
public Integer getAddGroup() {
return addGroup;
}
/**
* @param addGroup the addGroup to set
*/
public void setAddGroup(Integer addGroup) {
this.addGroup = addGroup;
}
/**
* opTime
* @return opTime
*/
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
/**
* @param opTime the opTime to set
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* isValid
* @return isValid
*/
public Integer getIsValid() {
return isValid;
}
/**
* @param isValid the isValid to set
*/
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
/**
* yl1
* @return yl1
*/
public Integer getYl1() {
return yl1;
}
/**
* @param yl1 the yl1 to set
*/
public void setYl1(Integer yl1) {
this.yl1 = yl1;
}
/**
* yl2
* @return yl2
*/
public Integer getYl2() {
return yl2;
}
/**
* @param yl2 the yl2 to set
*/
public void setYl2(Integer yl2) {
this.yl2 = yl2;
}
/**
* yl3
* @return yl3
*/
public String getYl3() {
return yl3;
}
/**
* @param yl3 the yl3 to set
*/
public void setYl3(String yl3) {
this.yl3 = yl3;
}
/**
* yl4
* @return yl4
*/
public String getYl4() {
return yl4;
}
/**
* @param yl4 the yl4 to set
*/
public void setYl4(String yl4) {
this.yl4 = yl4;
}
/**
* yl5
* @return yl5
*/
public String getYl5() {
return yl5;
}
/**
* @param yl5 the yl5 to set
*/
public void setYl5(String yl5) {
this.yl5 = yl5;
}
/**
* minTtl
* @return minTtl
*/
public Integer getMinTtl() {
return minTtl;
}
/**
* @param minTtl the minTtl to set
*/
public void setMinTtl(Integer minTtl) {
this.minTtl = minTtl;
}
/**
* maxTtl
* @return maxTtl
*/
public Integer getMaxTtl() {
return maxTtl;
}
/**
* @param maxTtl the maxTtl to set
*/
public void setMaxTtl(Integer maxTtl) {
this.maxTtl = maxTtl;
}
/**
* resGroupThreeId
* @return resGroupThreeId
*/
public Integer getResGroupThreeId() {
return resGroupThreeId;
}
/**
* @param resGroupThreeId the resGroupThreeId to set
*/
public void setResGroupThreeId(Integer resGroupThreeId) {
this.resGroupThreeId = resGroupThreeId;
}
/**
* resGroupThreeNum
* @return resGroupThreeNum
*/
public Integer getResGroupThreeNum() {
return resGroupThreeNum;
}
/**
* @param resGroupThreeNum the resGroupThreeNum to set
*/
public void setResGroupThreeNum(Integer resGroupThreeNum) {
this.resGroupThreeNum = resGroupThreeNum;
}
/**
* resGroupFourId
* @return resGroupFourId
*/
public Integer getResGroupFourId() {
return resGroupFourId;
}
/**
* @param resGroupFourId the resGroupFourId to set
*/
public void setResGroupFourId(Integer resGroupFourId) {
this.resGroupFourId = resGroupFourId;
}
/**
* resGroupFourNum
* @return resGroupFourNum
*/
public Integer getResGroupFourNum() {
return resGroupFourNum;
}
/**
* @param resGroupFourNum the resGroupFourNum to set
*/
public void setResGroupFourNum(Integer resGroupFourNum) {
this.resGroupFourNum = resGroupFourNum;
}
/**
* resGroupFiveId
* @return resGroupFiveId
*/
public Integer getResGroupFiveId() {
return resGroupFiveId;
}
/**
* @param resGroupFiveId the resGroupFiveId to set
*/
public void setResGroupFiveId(Integer resGroupFiveId) {
this.resGroupFiveId = resGroupFiveId;
}
/**
* resGroupFiveNum
* @return resGroupFiveNum
*/
public Integer getResGroupFiveNum() {
return resGroupFiveNum;
}
/**
* @param resGroupFiveNum the resGroupFiveNum to set
*/
public void setResGroupFiveNum(Integer resGroupFiveNum) {
this.resGroupFiveNum = resGroupFiveNum;
}
}

View File

@@ -1,122 +0,0 @@
/**
*@Title: DnsResponseStrategySource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月6日 上午9:00:41
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: DnsResponseStrategySource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月6日 上午9:00:41
* @version V1.0
*/
public class DnsResponseStrategySource extends ConfigCommonSource {
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 2810461787654112507L;
private static final String DEFAULT_VERSION = "1.0";
private List<DnsResponseStrategy> dnsResponseStrategyList;
/**
* 创建一个新的实例 DnsResponseStrategySource.
*
*/
public DnsResponseStrategySource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public DnsResponseStrategySource(String version) {
// TODO Auto-generated constructor stub
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* dnsResponseStrategyList
* @return dnsResponseStrategyList
*/
public List<DnsResponseStrategy> getDnsResponseStrategyList() {
return dnsResponseStrategyList;
}
/**
* @param dnsResponseStrategyList the dnsResponseStrategyList to set
*/
public void setDnsResponseStrategyList(List<DnsResponseStrategy> dnsResponseStrategyList) {
this.dnsResponseStrategyList = dnsResponseStrategyList;
}
}

View File

@@ -1,97 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class EncryptProtoRandom extends BaseEntity<EncryptProtoRandom>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 9207461727413894109L;
@ApiModelProperty(value="序号", required=true)
private Long id;
@ApiModelProperty(value="比例值", required=true)
private Integer randomValue;
@ApiModelProperty(value="协议编号", required=true)
private Integer proto;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
@ApiModelProperty(value="有效标志", required=true)
private Integer isValid;
private Long procSeq;
private Date lastUpdate;
/* (non-Javadoc)
* @see com.nis.domain.BaseEntity#getId()
*/
@Override
public Long getId() {
// TODO Auto-generated method stub
return super.getId();
}
/* (non-Javadoc)
* @see com.nis.domain.BaseEntity#setId(java.lang.Long)
*/
@Override
public void setId(Long id) {
// TODO Auto-generated method stub
super.setId(id);
}
public Integer getRandomValue() {
return randomValue;
}
public void setRandomValue(Integer randomValue) {
this.randomValue = randomValue;
}
public Integer getProto() {
return proto;
}
public void setProto(Integer proto) {
this.proto = proto;
}
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
}

View File

@@ -1,128 +0,0 @@
/**
*@Title: EncryptProtoRandomSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月27日 上午8:57:57
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: EncryptProtoRandomSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月27日 上午8:57:57
* @version V1.0
*/
public class EncryptProtoRandomSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4303849898919494205L;
private static final String DEFAULT_VERSION = "1.0";
private List<EncryptProtoRandom> encryptProtoRandomList;
/**
* 创建一个新的实例 EncryptProtoRandomSource.
*
*/
public EncryptProtoRandomSource() {
super();
this.version=DEFAULT_VERSION;
}
/**
* 创建一个新的实例 EncryptProtoRandomSource.
*
* @param encryptProtoRandomList
*/
public EncryptProtoRandomSource(List<EncryptProtoRandom> encryptProtoRandomList) {
this.encryptProtoRandomList = encryptProtoRandomList;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* encryptProtoRandomList
* @return encryptProtoRandomList
*/
public List<EncryptProtoRandom> getEncryptProtoRandomList() {
return encryptProtoRandomList;
}
/**
* @param encryptProtoRandomList the encryptProtoRandomList to set
*/
public void setEncryptProtoRandomList(List<EncryptProtoRandom> encryptProtoRandomList) {
this.encryptProtoRandomList = encryptProtoRandomList;
}
}

View File

@@ -1,182 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.nis.domain.BaseEntity;
public class FakeIpConfigCompile extends BaseEntity<FakeIpConfigCompile>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -4840694519393346179L;
private Long compileId;
private Integer service;
private Integer action;
private Integer doBlacklist;
private Integer doLog;
private String effectiveRange;
private String userRegion;
private Integer isValid;
private Date opTime;
private Integer groupNum;
private Integer activeSys;
private Date lastUpdate;
private Long procSeq;
/**
* activeSys
* @return activeSys
*/
public Integer getActiveSys() {
return activeSys;
}
/**
* @param activeSys the activeSys to set
*/
public void setActiveSys(Integer activeSys) {
this.activeSys = activeSys;
}
/**
* lastUpdate
* @return lastUpdate
*/
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* 创建一个新的实例 FakeIpConfigCompile.
*
*/
public FakeIpConfigCompile() {
this.service=0;
this.doBlacklist=0;
this.doLog=0;
this.effectiveRange="0";
this.userRegion="0";
this.isValid=1;
this.opTime=new Date();
this.groupNum=1;
}
public Long getCompileId() {
return compileId;
}
public void setCompileId(Long compileId) {
this.compileId = compileId;
}
public Integer getService() {
return service;
}
public void setService(Integer service) {
this.service = service;
}
public Integer getAction() {
return action;
}
public void setAction(Integer action) {
this.action = action;
}
public Integer getDoBlacklist() {
return doBlacklist;
}
public void setDoBlacklist(Integer doBlacklist) {
this.doBlacklist = doBlacklist;
}
public Integer getDoLog() {
return doLog;
}
public void setDoLog(Integer doLog) {
this.doLog = doLog;
}
public String getEffectiveRange() {
return effectiveRange;
}
public void setEffectiveRange(String effectiveRange) {
this.effectiveRange = effectiveRange;
}
public String getUserRegion() {
return userRegion;
}
public void setUserRegion(String userRegion) {
this.userRegion = userRegion == null ? null : userRegion.trim();
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
public Integer getGroupNum() {
return groupNum;
}
public void setGroupNum(Integer groupNum) {
this.groupNum = groupNum;
}
}

View File

@@ -1,114 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nis.domain.BaseEntity;
public class FakeIpConfigGroup extends BaseEntity<FakeIpConfigGroup>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 2903914645692214990L;
private Integer groupId;
private Long compileId;
private Integer isValid;
private Date opTime;
private Date lastUpdate;
private Long procSeq;
private Long id;
/**
* id
* @return id
*/
public Long getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* lastUpdate
* @return lastUpdate
*/
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
/**
* 创建一个新的实例 FakeIpConfigGroup.
*
*/
public FakeIpConfigGroup() {
this.isValid=1;
this.opTime=new Date();
}
public Integer getGroupId() {
return groupId;
}
public void setGroupId(Integer groupId) {
this.groupId = groupId;
}
public Long getCompileId() {
return compileId;
}
public void setCompileId(Long compileId) {
this.compileId = compileId;
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
}

View File

@@ -1,111 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* @ClassName: FwqInfo.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:14:52
* @version V1.0
*/
public class FwqInfo extends BaseEntity<FwqInfo>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -7679262194839780624L;
@ApiModelProperty(value="配置ID", required=true)
private Long id;
@ApiModelProperty(value="服务器名称", required=true)
private String name;
@ApiModelProperty(value="国际出入口编号", required=true)
private Long entranceId;
@ApiModelProperty(value="操作员", required=true)
private Long czyid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public Long getEntranceId() {
return entranceId;
}
public void setEntranceId(Long entranceId) {
this.entranceId = entranceId;
}
public Long getCzyid() {
return czyid;
}
public void setCzyid(Long czyid) {
this.czyid = czyid;
}
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
}

View File

@@ -1,120 +0,0 @@
/**
*@Title: FwqInfoSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月9日 上午9:53:04
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: FwqInfoSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:53:04
* @version V1.0
*/
public class FwqInfoSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 262835095511967504L;
private static final String DEFAULT_VERSION = "1.0";
private List<FwqInfo> fwqInfoList;
/**
* 创建一个新的实例 FwqInfoSource.
*
*/
public FwqInfoSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public FwqInfoSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* fwqInfoList
* @return fwqInfoList
*/
public List<FwqInfo> getFwqInfoList() {
return fwqInfoList;
}
/**
* @param fwqInfoList the fwqInfoList to set
*/
public void setFwqInfoList(List<FwqInfo> fwqInfoList) {
this.fwqInfoList = fwqInfoList;
}
}

View File

@@ -1,25 +0,0 @@
/**
* @Title: StrRegion.java
* @Package com.nis.domain.restful
* @Description: TODO(用一句话描述该文件做什么)
* @author darnell
* @date 2016年8月29日 下午10:29:45
* @version V1.0
*/
package com.nis.domain.restful;
/**
* @ClassName: StrRegion
* @Description: TODO(这里用一句话描述这个类的作用)
* @author (darnell)
* @date 2016年8月29日 下午10:29:45
* @version V1.0
*/
public class IpRegionTest extends IpRegion {
/**
*
*/
private static final long serialVersionUID = 5051062513980968866L;
}

View File

@@ -1,131 +0,0 @@
package com.nis.domain.restful;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.nis.domain.BaseEntity;
import com.nis.util.JsonDateSerializer;
import com.wordnik.swagger.annotations.ApiModelProperty;
/**
*
* @ClassName: JdjInfo.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:17:52
* @version V1.0
*/
public class JdjInfo extends BaseEntity<JdjInfo>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 1972462456394453087L;
@ApiModelProperty(value="配置ID", required=true)
private Long id;
@ApiModelProperty(value="节点机名称", required=true)
private String name;
@ApiModelProperty(value="服务器ID", required=true)
private Long fwqId;
@ApiModelProperty(value="监测IP", required=true)
private String jcIp;
@ApiModelProperty(value="封堵IP", required=true)
private String fdIp;
@ApiModelProperty(value="操作员", required=true)
private Long czyid;
@ApiModelProperty(value="操作时间", required=true)
private Date opTime;
private Date lastUpdate;
private Long procSeq;
/**
* lastUpdate
* @return lastUpdate
*/
@JsonIgnore
public Date getLastUpdate() {
return lastUpdate;
}
/**
* @param lastUpdate the lastUpdate to set
*/
public void setLastUpdate(Date lastUpdate) {
this.lastUpdate = lastUpdate;
}
/**
* procSeq
* @return procSeq
*/
@JsonIgnore
public Long getProcSeq() {
return procSeq;
}
/**
* @param procSeq the procSeq to set
*/
public void setProcSeq(Long procSeq) {
this.procSeq = procSeq;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public Long getFwqId() {
return fwqId;
}
public void setFwqId(Long fwqId) {
this.fwqId = fwqId;
}
public String getJcIp() {
return jcIp;
}
public void setJcIp(String jcIp) {
this.jcIp = jcIp == null ? null : jcIp.trim();
}
public String getFdIp() {
return fdIp;
}
public void setFdIp(String fdIp) {
this.fdIp = fdIp == null ? null : fdIp.trim();
}
public Long getCzyid() {
return czyid;
}
public void setCzyid(Long czyid) {
this.czyid = czyid;
}
// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@JsonSerialize(using=JsonDateSerializer.class)
public Date getOpTime() {
return opTime;
}
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
}

View File

@@ -1,120 +0,0 @@
/**
*@Title: JdjInfoSource.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2016年9月9日 上午9:53:04
*@version 版本号
*/
package com.nis.domain.restful;
import java.util.Date;
import java.util.List;
/**
* @ClassName: JdjInfoSource.java
* @Description: TODO
* @author (wx)
* @date 2016年9月9日 上午9:53:04
* @version V1.0
*/
public class JdjInfoSource extends ConfigCommonSource{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 262835095511967504L;
private static final String DEFAULT_VERSION = "1.0";
private List<JdjInfo> jdjInfoList;
/**
* 创建一个新的实例 JdjInfoSource.
*
*/
public JdjInfoSource() {
super();
// TODO Auto-generated constructor stub
this.version=DEFAULT_VERSION;
}
public JdjInfoSource(String version) {
this.version=version;
}
/**
* @return version
*/
public String getVersion() {
return version;
}
/**
* @param version 要设置的 version
*/
public void setVersion(String version) {
this.version = version;
}
/**
* @return operator
*/
public String getOperator() {
return operator;
}
/**
* @param operator 要设置的 operator
*/
public void setOperator(String operator) {
this.operator = operator;
}
/**
* @return opTime
*/
public Date getOpTime() {
return opTime;
}
/**
* @param opTime 要设置的 opTime
*/
public void setOpTime(Date opTime) {
this.opTime = opTime;
}
/**
* @return opAction
*/
public Integer getOpAction() {
return opAction;
}
/**
* @param opAction 要设置的 opAction
*/
public void setOpAction(Integer opAction) {
this.opAction = opAction;
}
/**
* jdjInfoList
* @return jdjInfoList
*/
public List<JdjInfo> getJdjInfoList() {
return jdjInfoList;
}
/**
* @param jdjInfoList the jdjInfoList to set
*/
public void setJdjInfoList(List<JdjInfo> jdjInfoList) {
this.jdjInfoList = jdjInfoList;
}
}

View File

@@ -1,29 +0,0 @@
/**
* @Title: NumRegion.java
* @Package com.nis.domain.restful
* @Description: TODO(用一句话描述该文件做什么)
* @author darnell
* @date 2016年8月29日 下午10:46:00
* @version V1.0
*/
package com.nis.domain.restful;
/**
* @ClassName: NumRegion
* @Description: TODO(这里用一句话描述这个类的作用)
* @author (darnell)
* @date 2016年8月29日 下午10:46:00
* @version V1.0
*/
public class NumRegionTest extends NumRegion{
/**
*
*/
private static final long serialVersionUID = 8992364895523569799L;
}