增加导出功能
This commit is contained in:
@@ -3,6 +3,7 @@ package com.nis.domain.configuration;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* @Description: APP策略配置
|
||||
@@ -18,21 +19,26 @@ public class AppIpCfg extends BaseCfg<AppIpCfg> {
|
||||
private static final long serialVersionUID = 4758285716968228089L;
|
||||
private static final String tableName="app_ip_cfg";
|
||||
@Expose
|
||||
@ExcelField(title="cfg_id",sort=0)
|
||||
private Integer compileId;
|
||||
@Expose
|
||||
private String ratelimit;
|
||||
private Integer appCode;//specific_service_cfg表一级节点的spec_service_code
|
||||
private Integer behavCode;//specific_service_cfg表二级节点的spec_service_code
|
||||
private Integer specServiceId;
|
||||
@ExcelField(title="social_app",sort=2)
|
||||
private String appName;
|
||||
@Expose
|
||||
@ExcelField(title="ip_type",dictType="IP_TYPE",sort=3)
|
||||
@SerializedName("ipType")
|
||||
protected Integer ipType;
|
||||
protected Integer ipPattern;
|
||||
protected String srcIpAddress;
|
||||
@ExcelField(title="server_ip",sort=4)
|
||||
protected String destIpAddress;
|
||||
protected Integer portPattern;
|
||||
protected String srcPort;
|
||||
@ExcelField(title="server_port",sort=5)
|
||||
protected String destPort;
|
||||
|
||||
/**
|
||||
@@ -45,6 +51,7 @@ public class AppIpCfg extends BaseCfg<AppIpCfg> {
|
||||
* 方向
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="protocol",dictType="PROTOCOL",sort=6)
|
||||
@SerializedName("protocol")
|
||||
protected Integer protocol ;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user