①修复新增,修改,列表展示配置时分类性质标签展示的问题
②列表展示时采用遍历分类性质标签的方法展示,减少数据库查询时的压力 ③取掉了一些不需要展示的列 ④新增Maat转换的bean ⑤采用gson的方式对在bean上做注解做转换,禁止了htmlescape
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseIpConfig.java
|
||||
* @Description: 基础IP配置
|
||||
@@ -26,50 +29,74 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
||||
/**
|
||||
* ip类型
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("ipType")
|
||||
protected Integer ipType;
|
||||
/**
|
||||
* 源IP地址
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("srcIp")
|
||||
protected String srcIp ;
|
||||
/**
|
||||
* 源地址掩码
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("srcIpMask")
|
||||
protected String srcIpMask ;
|
||||
/**
|
||||
* 源端口
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("srcPort")
|
||||
protected String srcPort ;
|
||||
/**
|
||||
* 源端口掩码
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("srcPortMask")
|
||||
protected String srcPortMask ;
|
||||
/**
|
||||
* 目的IP地址
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("dstIp")
|
||||
protected String dstIp ;
|
||||
/**
|
||||
* 目的地址掩码
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("dstIpMask")
|
||||
protected String dstIpMask ;
|
||||
/**
|
||||
* 目的端口
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("dstPort")
|
||||
protected String dstPort ;
|
||||
/**
|
||||
* 目的端口掩码
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("dstPortMask")
|
||||
protected String dstPortMask ;
|
||||
/**
|
||||
* 方向
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("direction")
|
||||
protected Integer direction ;
|
||||
/**
|
||||
* 方向
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("protocol")
|
||||
protected Integer protocol ;
|
||||
/**
|
||||
* 协议ID
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("protocolId")
|
||||
protected Integer protocolId ;
|
||||
/**
|
||||
* 编译id
|
||||
|
||||
Reference in New Issue
Block a user