2018-12-01 16:06:08 +08:00
|
|
|
package com.nis.domain.configuration;
|
|
|
|
|
|
2018-12-08 15:42:59 +08:00
|
|
|
import com.google.gson.annotations.Expose;
|
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
2018-12-08 16:07:41 +08:00
|
|
|
import com.nis.util.Constants;
|
2018-12-23 00:36:58 +08:00
|
|
|
import com.nis.util.excel.ExcelField;
|
2018-12-08 15:42:59 +08:00
|
|
|
|
2018-12-01 16:06:08 +08:00
|
|
|
/**
|
|
|
|
|
* IP复用策略
|
|
|
|
|
* @author dell
|
|
|
|
|
*
|
|
|
|
|
*/
|
2018-12-08 15:42:59 +08:00
|
|
|
/**
|
|
|
|
|
* @author DuanDongmei
|
|
|
|
|
*
|
|
|
|
|
*/
|
2018-12-01 16:06:08 +08:00
|
|
|
public class IpReusePolicyCfg extends BaseCfg<IpReusePolicyCfg>{
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 2904010760648378142L;
|
|
|
|
|
private String indexTable="ip_reuse_policy_cfg";
|
|
|
|
|
|
|
|
|
|
private Integer userId; // 用户标识
|
2018-12-08 15:42:59 +08:00
|
|
|
@Expose
|
2018-12-23 00:36:58 +08:00
|
|
|
@ExcelField(title="user_type",dictType="USER_TYPE",sort=4)
|
2018-12-08 15:42:59 +08:00
|
|
|
protected String userType; // 用户类型
|
|
|
|
|
@Expose
|
|
|
|
|
protected Integer addrPoolId; // 地址池ID
|
|
|
|
|
@Expose
|
|
|
|
|
protected String translateParam; // 地址翻译参数
|
|
|
|
|
@Expose
|
|
|
|
|
@SerializedName("userId")
|
2018-12-23 00:36:58 +08:00
|
|
|
@ExcelField(title="user",sort=5)
|
2018-12-05 11:45:59 +08:00
|
|
|
private String userName;
|
2018-12-23 00:36:58 +08:00
|
|
|
@ExcelField(title="address_pool",sort=3)
|
2018-12-05 11:45:59 +08:00
|
|
|
private String addrPoolName; // 仅用于列表条件检索
|
2018-12-01 16:06:08 +08:00
|
|
|
|
2018-12-06 15:00:05 +08:00
|
|
|
private Integer ipType;
|
|
|
|
|
private Integer ipPattern;
|
2019-01-16 18:49:44 +08:00
|
|
|
//@ExcelField(title="ip",sort=6)
|
2018-12-06 15:00:05 +08:00
|
|
|
private String srcIpAddress;
|
|
|
|
|
private String destIpAddress;
|
2018-12-08 15:42:59 +08:00
|
|
|
@Expose
|
2019-01-16 12:57:51 +08:00
|
|
|
@ExcelField(title="cfg_id",sort=0)
|
2018-12-08 15:42:59 +08:00
|
|
|
@SerializedName("configId")
|
|
|
|
|
private Integer compileId;
|
|
|
|
|
@Expose
|
|
|
|
|
@SerializedName("effectiveRange")
|
|
|
|
|
private String areaEffectiveIds ;
|
|
|
|
|
@Expose
|
2018-12-08 16:07:41 +08:00
|
|
|
private Integer doLog = Constants.MAAT_CFG_DOLOG_DEFAULT;
|
2019-01-16 12:57:51 +08:00
|
|
|
@ExcelField(title="log_total",sort=31)
|
|
|
|
|
private Long totalLogs;
|
2018-12-08 15:42:59 +08:00
|
|
|
|
2019-01-16 12:57:51 +08:00
|
|
|
public Long getTotalLogs() {
|
|
|
|
|
return totalLogs;
|
|
|
|
|
}
|
|
|
|
|
public void setTotalLogs(Long totalLogs) {
|
|
|
|
|
this.totalLogs = totalLogs;
|
|
|
|
|
}
|
2018-12-08 15:42:59 +08:00
|
|
|
public void setDoLog(Integer doLog) {
|
|
|
|
|
this.doLog = doLog;
|
|
|
|
|
}
|
|
|
|
|
public Integer getDoLog() {
|
|
|
|
|
return doLog;
|
|
|
|
|
}
|
|
|
|
|
public Integer getCompileId() {
|
|
|
|
|
return compileId;
|
|
|
|
|
}
|
|
|
|
|
public void setCompileId(Integer compileId) {
|
|
|
|
|
this.compileId = compileId;
|
|
|
|
|
}
|
|
|
|
|
public String getAreaEffectiveIds() {
|
|
|
|
|
return areaEffectiveIds;
|
|
|
|
|
}
|
|
|
|
|
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
|
|
|
|
this.areaEffectiveIds = areaEffectiveIds;
|
|
|
|
|
}
|
2018-12-06 15:00:05 +08:00
|
|
|
|
2018-12-01 16:06:08 +08:00
|
|
|
public Integer getUserId() {
|
|
|
|
|
return userId;
|
|
|
|
|
}
|
|
|
|
|
public void setUserId(Integer userId) {
|
|
|
|
|
this.userId = userId;
|
|
|
|
|
}
|
|
|
|
|
public String getUserType() {
|
|
|
|
|
return userType;
|
|
|
|
|
}
|
|
|
|
|
public void setUserType(String userType) {
|
|
|
|
|
this.userType = userType;
|
|
|
|
|
}
|
|
|
|
|
public Integer getAddrPoolId() {
|
|
|
|
|
return addrPoolId;
|
|
|
|
|
}
|
|
|
|
|
public void setAddrPoolId(Integer addrPoolId) {
|
|
|
|
|
this.addrPoolId = addrPoolId;
|
|
|
|
|
}
|
|
|
|
|
public String getTranslateParam() {
|
|
|
|
|
return translateParam;
|
|
|
|
|
}
|
|
|
|
|
public void setTranslateParam(String translateParam) {
|
|
|
|
|
this.translateParam = translateParam;
|
|
|
|
|
}
|
|
|
|
|
public String getIndexTable() {
|
|
|
|
|
return indexTable;
|
|
|
|
|
}
|
|
|
|
|
public void setIndexTable(String indexTable) {
|
|
|
|
|
this.indexTable = indexTable;
|
|
|
|
|
}
|
|
|
|
|
public String getUserName() {
|
|
|
|
|
return userName;
|
|
|
|
|
}
|
|
|
|
|
public void setUserName(String userName) {
|
|
|
|
|
this.userName = userName;
|
|
|
|
|
}
|
|
|
|
|
public String getAddrPoolName() {
|
|
|
|
|
return addrPoolName;
|
|
|
|
|
}
|
|
|
|
|
public void setAddrPoolName(String addrPoolName) {
|
|
|
|
|
this.addrPoolName = addrPoolName;
|
|
|
|
|
}
|
2018-12-06 15:00:05 +08:00
|
|
|
public Integer getIpType() {
|
|
|
|
|
return ipType;
|
|
|
|
|
}
|
|
|
|
|
public void setIpType(Integer ipType) {
|
|
|
|
|
this.ipType = ipType;
|
|
|
|
|
}
|
|
|
|
|
public String getSrcIpAddress() {
|
|
|
|
|
return srcIpAddress;
|
|
|
|
|
}
|
|
|
|
|
public void setSrcIpAddress(String srcIpAddress) {
|
|
|
|
|
this.srcIpAddress = srcIpAddress;
|
|
|
|
|
}
|
|
|
|
|
public Integer getIpPattern() {
|
|
|
|
|
return ipPattern;
|
|
|
|
|
}
|
|
|
|
|
public void setIpPattern(Integer ipPattern) {
|
|
|
|
|
this.ipPattern = ipPattern;
|
|
|
|
|
}
|
|
|
|
|
public String getDestIpAddress() {
|
|
|
|
|
return destIpAddress;
|
|
|
|
|
}
|
|
|
|
|
public void setDestIpAddress(String destIpAddress) {
|
|
|
|
|
this.destIpAddress = destIpAddress;
|
|
|
|
|
}
|
2018-12-01 16:06:08 +08:00
|
|
|
|
|
|
|
|
}
|