日志查询-多媒体导出添加

This commit is contained in:
leijun
2018-12-17 08:32:02 +08:00
parent 377ba3289c
commit e793aca0e1
15 changed files with 650 additions and 211 deletions

View File

@@ -2,6 +2,7 @@ package com.nis.domain.log;
import java.util.Date;
import com.nis.util.excel.ExcelField;
import com.wordnik.swagger.annotations.ApiModelProperty;
public class NtcDdosLog extends BaseLogEntity<NtcDdosLog> {
@@ -11,20 +12,28 @@ public class NtcDdosLog extends BaseLogEntity<NtcDdosLog> {
*/
private static final long serialVersionUID = 9080132009178985910L;
@ExcelField(title="attack_type",dictType="ATTACK_TYPE",sort=8)
@ApiModelProperty(value = "攻击类型", required = true)
protected Integer attackType;
@ExcelField(title="attack_start_time",sort=9)
@ApiModelProperty(value = "攻击起始时间", required = true)
protected Date attackStartTime;
@ExcelField(title="last_attack_time",sort=10)
@ApiModelProperty(value = "最后一次攻击包时间", required = true)
protected Date lastAttackTime;
@ExcelField(title="attack_max_pps",sort=11)
@ApiModelProperty(value = "攻击最大流量, 包数/秒", required = true)
protected String attackMaxPps;
@ExcelField(title="attack_max_bps",sort=12)
@ApiModelProperty(value = "攻击最大流量, bit数/秒", required = true)
protected String attackMaxBps;
@ExcelField(title="attack_total_pkt",sort=13)
@ApiModelProperty(value = "攻击累积包数", required = true)
protected String attackTotalPkt;
@ExcelField(title="attack_total_byte",sort=14)
@ApiModelProperty(value = "攻击累积字节数", required = true)
protected String attackTotalByte;
@ExcelField(title="is_blcok ",dictType="SYS_YES_NO",sort=15)
@ApiModelProperty(value = "攻击流量是否被丢弃", required = true)
protected Integer isBlock;