This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/domain/configuration/IpReusePolicyCfg.java

138 lines
3.3 KiB
Java
Raw Normal View History

package com.nis.domain.configuration;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.nis.util.Constants;
import com.nis.util.excel.ExcelField;
/**
* IP复用策略
* @author dell
*
*/
/**
* @author DuanDongmei
*
*/
public class IpReusePolicyCfg extends BaseCfg<IpReusePolicyCfg>{
private static final long serialVersionUID = 2904010760648378142L;
private String indexTable="ip_reuse_policy_cfg";
private Integer userId; // 用户标识
@Expose
@ExcelField(title="user_type",dictType="USER_TYPE",sort=4)
protected String userType; // 用户类型
@Expose
protected Integer addrPoolId; // 地址池ID
@Expose
protected String translateParam; // 地址翻译参数
@Expose
@SerializedName("userId")
@ExcelField(title="user",sort=5)
2018-12-05 11:45:59 +08:00
private String userName;
@ExcelField(title="address_pool",sort=3)
2018-12-05 11:45:59 +08:00
private String addrPoolName; // 仅用于列表条件检索
2018-12-06 15:00:05 +08:00
private Integer ipType;
private Integer ipPattern;
@ExcelField(title="ip",sort=6)
2018-12-06 15:00:05 +08:00
private String srcIpAddress;
private String destIpAddress;
@Expose
@SerializedName("configId")
private Integer compileId;
@Expose
@SerializedName("effectiveRange")
private String areaEffectiveIds ;
@Expose
private Integer doLog = Constants.MAAT_CFG_DOLOG_DEFAULT;
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
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;
}
}