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/IpReuseDnatPolicyCfg.java
leijun d7807f0009 DNAT复用策略增加用户和用户类型
调整SNAT地址池管理 配置IP的格式为:IP sql提交
2019-01-16 18:49:44 +08:00

163 lines
3.4 KiB
Java

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复用DNAT策略实体
* @author dell
*
*/
public class IpReuseDnatPolicyCfg extends IpPortCfg{
private static final long serialVersionUID = 3965263675989864475L;
private String indexTable="ip_reuse_dnat_policy";
@Expose
@SerializedName("configId")
@ExcelField(title="cfg_id",sort=0)
private Integer compileId;
@Expose
@SerializedName("originalAddrType")
private Integer ipType;
@Expose
@SerializedName("originalDestIp")
@ExcelField(title="original_dest_ip",sort=4)
private String srcIpAddress;
@Expose
@SerializedName("originalDestPort")
@ExcelField(title="original_dest_port",sort=5)
private String srcPort;
@Expose
@SerializedName("originalProtocol")
@ExcelField(title="protocol",dictType="PROTOCOL",sort=8)
private Integer protocol;
@Expose
@SerializedName("translatedDestIp")
//@ExcelField(title="translated_dest_ip",sort=6)
private String destIpAddress;
@Expose
@SerializedName("translatedDestPort")
@ExcelField(title="translated_dest_port",sort=7)
private String destPort;
@Expose
private Integer doLog = Constants.MAAT_CFG_DOLOG_DEFAULT;
@Expose
@SerializedName("effectiveRange")
private String areaEffectiveIds;
@ExcelField(title="user",sort=10)
@Expose
private String translatedUserId;
@Expose
@ExcelField(title="user_type",sort=9)
private String translatedUserType;
public String getTranslatedUserId() {
return translatedUserId;
}
public void setTranslatedUserId(String translatedUserId) {
this.translatedUserId = translatedUserId;
}
public String getTranslatedUserType() {
return translatedUserType;
}
public void setTranslatedUserType(String translatedUserType) {
this.translatedUserType = translatedUserType;
}
public String getIndexTable() {
return indexTable;
}
public void setIndexTable(String indexTable) {
this.indexTable = indexTable;
}
public Integer getIpType() {
return ipType;
}
public void setIpType(Integer ipType) {
this.ipType = ipType;
}
public Integer getProtocol() {
return protocol;
}
public void setProtocol(Integer protocol) {
this.protocol = protocol;
}
public Integer getCompileId() {
return compileId;
}
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
public String getSrcIpAddress() {
return srcIpAddress;
}
public void setSrcIpAddress(String srcIpAddress) {
this.srcIpAddress = srcIpAddress;
}
public String getSrcPort() {
return srcPort;
}
public void setSrcPort(String srcPort) {
this.srcPort = srcPort;
}
public String getDestIpAddress() {
return destIpAddress;
}
public void setDestIpAddress(String destIpAddress) {
this.destIpAddress = destIpAddress;
}
public String getDestPort() {
return destPort;
}
public void setDestPort(String destPort) {
this.destPort = destPort;
}
public Integer getDoLog() {
return doLog;
}
public void setDoLog(Integer doLog) {
this.doLog = doLog;
}
public String getAreaEffectiveIds() {
return areaEffectiveIds;
}
public void setAreaEffectiveIds(String areaEffectiveIds) {
this.areaEffectiveIds = areaEffectiveIds;
}
}