增加导出功能
This commit is contained in:
@@ -2,6 +2,8 @@ package com.nis.domain.configuration;
|
||||
|
||||
import javax.net.ssl.KeyManager;
|
||||
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
/**
|
||||
* dns响应策略配置
|
||||
* @author dell
|
||||
@@ -14,6 +16,7 @@ public class DnsResStrategy extends BaseCfg<DnsResStrategy> {
|
||||
private static final long serialVersionUID = -2720862431960415564L;
|
||||
private String indexTable="dns_res_strategy";
|
||||
private Integer resGroup1Id;
|
||||
@ExcelField(title="res_group_num",sort=3)
|
||||
private Integer resGroup1Num;
|
||||
private Integer resGroup2Id;
|
||||
private Integer resGroup2Num;
|
||||
@@ -25,7 +28,11 @@ public class DnsResStrategy extends BaseCfg<DnsResStrategy> {
|
||||
private Integer resGroup5Num;
|
||||
private Integer minTtl;
|
||||
private Integer maxTtl;
|
||||
@ExcelField(title="group",sort=2)
|
||||
private String group1Name;
|
||||
@ExcelField(title="min_ttl",sort=4)
|
||||
private String miTtlmax;
|
||||
|
||||
@Override
|
||||
public void initDefaultValue() {
|
||||
this.resGroup2Id=0;
|
||||
@@ -37,6 +44,18 @@ public class DnsResStrategy extends BaseCfg<DnsResStrategy> {
|
||||
this.resGroup5Id=0;
|
||||
this.resGroup5Num=0;
|
||||
}
|
||||
|
||||
|
||||
public String getMiTtlmax() {
|
||||
return miTtlmax;
|
||||
}
|
||||
|
||||
|
||||
public void setMiTtlmax(String miTtlmax) {
|
||||
this.miTtlmax = miTtlmax;
|
||||
}
|
||||
|
||||
|
||||
public Integer getResGroup1Id() {
|
||||
return resGroup1Id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user