多媒体、ddos Excel导出功能
This commit is contained in:
@@ -2,6 +2,7 @@ package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
public class AvFileSampleCfg extends BaseCfg<AvFileSampleCfg> {
|
||||
/**
|
||||
@@ -10,9 +11,11 @@ public class AvFileSampleCfg extends BaseCfg<AvFileSampleCfg> {
|
||||
private static final long serialVersionUID = -2356472662189941874L;
|
||||
@Expose
|
||||
@SerializedName("srcFile")
|
||||
@ExcelField(title="src_file",sort=2)
|
||||
private String srcUrl;
|
||||
@Expose
|
||||
@SerializedName("dstFile")
|
||||
@ExcelField(title="sample_file",sort=3)
|
||||
private String sampleUrl;
|
||||
@Expose
|
||||
@SerializedName("srcFileMd5")
|
||||
@@ -21,6 +24,7 @@ public class AvFileSampleCfg extends BaseCfg<AvFileSampleCfg> {
|
||||
@SerializedName("dstFileMd5")
|
||||
private String sampleMd5;
|
||||
@Expose
|
||||
@ExcelField(title="harm_level",sort=21)
|
||||
private Integer level;
|
||||
@Expose
|
||||
@SerializedName("cfgId")
|
||||
|
||||
@@ -42,24 +42,24 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("ipType")
|
||||
@ExcelField(title="ip_type",dictType="IP_TYPE",sort=101)
|
||||
@ExcelField(title="ip_type",dictType="IP_TYPE",sort=2)
|
||||
protected Integer ipType;
|
||||
@ExcelField(title="ip_pattern",dictType="IP_PATTERN",sort=102)
|
||||
@ExcelField(title="ip_pattern",dictType="IP_PATTERN",sort=3)
|
||||
protected Integer ipPattern;
|
||||
@ExcelField(title="client_ip",sort=103)
|
||||
@ExcelField(title="client_ip",sort=4)
|
||||
protected String srcIpAddress;
|
||||
@ExcelField(title="server_ip",sort=104)
|
||||
@ExcelField(title="server_ip",sort=5)
|
||||
protected String destIpAddress;
|
||||
@ExcelField(title="port_pattern",dictType="PORT_PATTERN",sort=105)
|
||||
@ExcelField(title="port_pattern",dictType="PORT_PATTERN",sort=6)
|
||||
protected Integer portPattern;
|
||||
@ExcelField(title="client_port",sort=106)
|
||||
@ExcelField(title="client_port",sort=7)
|
||||
protected String srcPort;
|
||||
@ExcelField(title="server_port",sort=107)
|
||||
@ExcelField(title="server_port",sort=8)
|
||||
protected String destPort;
|
||||
protected Integer dnsStrategyId;
|
||||
@ExcelField(title="ir_type",dictType="IR_TYPE",sort=108)
|
||||
@ExcelField(title="ir_type",dictType="IR_TYPE",sort=9)
|
||||
protected Integer irType;
|
||||
@ExcelField(title="group_name",sort=109)
|
||||
@ExcelField(title="group_name",sort=10)
|
||||
protected String groupName;
|
||||
|
||||
private List<NtcSubscribeIdCfg> ntcSubscribeIdCfgList;
|
||||
@@ -97,14 +97,14 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("direction")
|
||||
@ExcelField(title="direction",dictType="DIRECTION",sort=110)
|
||||
@ExcelField(title="direction",dictType="DIRECTION",sort=11)
|
||||
protected Integer direction ;
|
||||
/**
|
||||
* 方向
|
||||
* 协议
|
||||
*/
|
||||
@Expose
|
||||
@SerializedName("protocol")
|
||||
@ExcelField(title="protocol",dictType="PROTOCOL",sort=111)
|
||||
@ExcelField(title="protocol",dictType="PROTOCOL",sort=12)
|
||||
protected Integer protocol ;
|
||||
/**
|
||||
* 协议ID
|
||||
|
||||
@@ -10,6 +10,8 @@ package com.nis.domain.configuration;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
|
||||
/**
|
||||
* 文件摘要配置
|
||||
@@ -26,9 +28,13 @@ public class FileDigestCfg extends BaseCfg<FileDigestCfg> {
|
||||
*/
|
||||
private static final long serialVersionUID = 2796500715438264119L;
|
||||
private static final String tableName="file_digest_cfg";
|
||||
@ExcelField(title="raw_len",sort=3)
|
||||
private Long rawLen;
|
||||
@ExcelField(title="digest",sort=2)
|
||||
private String digest;
|
||||
@ExcelField(title="cfds_level",sort=4)
|
||||
private Integer cfdsLevel;
|
||||
@ExcelField(title="file_url",sort=5)
|
||||
private String fileUrl;
|
||||
|
||||
private NtcSubscribeIdCfg ntcSubscribeIdCfg;
|
||||
|
||||
Reference in New Issue
Block a user