2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
*@Title: IpPortConfig.java
|
|
|
|
|
|
*@Package com.nis.domain.restful
|
|
|
|
|
|
*@Description TODO
|
|
|
|
|
|
*@author dell
|
|
|
|
|
|
*@date 2018年2月5日 下午3:48:25
|
|
|
|
|
|
*@version 版本号
|
|
|
|
|
|
*/
|
|
|
|
|
|
package com.nis.domain.configuration;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: IpPortConfig.java
|
|
|
|
|
|
* @Description: TODO
|
|
|
|
|
|
* @author (dell)
|
|
|
|
|
|
* @date 2018年2月5日 下午3:48:25
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
2018-02-23 09:34:58 +08:00
|
|
|
|
public class IpPortCfg extends BaseIpCfg {
|
2018-05-21 09:05:21 +08:00
|
|
|
|
private static final String tableName="ip_port_cfg";
|
2018-10-22 21:27:08 +08:00
|
|
|
|
private String indexTable="ip_port_cfg";
|
2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
|
|
|
|
|
*
|
|
|
|
|
|
* @since 1.0.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 4664942095843594575L;
|
2018-11-01 20:23:56 +08:00
|
|
|
|
//仅用作导入时copy属性使用
|
2018-11-01 14:58:48 +08:00
|
|
|
|
private String antiddosProtocol;
|
2018-11-01 20:23:56 +08:00
|
|
|
|
//仅用作导入时copy属性使用
|
2018-11-01 14:58:48 +08:00
|
|
|
|
private Long bpsThreadshold;
|
2018-11-01 20:23:56 +08:00
|
|
|
|
//仅用作导入时copy属性使用
|
2018-11-01 14:58:48 +08:00
|
|
|
|
private Long ppsThreadshold;
|
2018-11-01 20:23:56 +08:00
|
|
|
|
//仅用作导入时copy属性使用
|
|
|
|
|
|
private Integer policyGroup;
|
2018-02-07 14:51:11 +08:00
|
|
|
|
|
2018-11-01 20:23:56 +08:00
|
|
|
|
public Integer getPolicyGroup() {
|
|
|
|
|
|
return policyGroup;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setPolicyGroup(Integer policyGroup) {
|
|
|
|
|
|
this.policyGroup = policyGroup;
|
|
|
|
|
|
}
|
2018-11-01 14:58:48 +08:00
|
|
|
|
public String getAntiddosProtocol() {
|
|
|
|
|
|
return antiddosProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setAntiddosProtocol(String antiddosProtocol) {
|
|
|
|
|
|
this.antiddosProtocol = antiddosProtocol;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Long getBpsThreadshold() {
|
|
|
|
|
|
return bpsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setBpsThreadshold(Long bpsThreadshold) {
|
|
|
|
|
|
this.bpsThreadshold = bpsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public Long getPpsThreadshold() {
|
|
|
|
|
|
return ppsThreadshold;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setPpsThreadshold(Long ppsThreadshold) {
|
|
|
|
|
|
this.ppsThreadshold = ppsThreadshold;
|
|
|
|
|
|
}
|
2018-02-23 09:34:58 +08:00
|
|
|
|
/* (non-Javadoc)
|
|
|
|
|
|
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
|
2018-02-07 14:51:11 +08:00
|
|
|
|
*/
|
2018-02-23 09:34:58 +08:00
|
|
|
|
@Override
|
|
|
|
|
|
public void initDefaultValue() {
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
super.initDefaultValue();
|
2018-05-25 13:25:21 +08:00
|
|
|
|
// this.protocolId = 0;
|
2018-02-07 14:51:11 +08:00
|
|
|
|
}
|
2018-05-21 19:42:24 +08:00
|
|
|
|
public void initDefaultValueImpl(){
|
|
|
|
|
|
initDefaultValue();
|
|
|
|
|
|
}
|
2018-03-05 16:30:16 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 此表固定写0
|
|
|
|
|
|
*/
|
2018-05-25 13:25:21 +08:00
|
|
|
|
/*@Override
|
2018-03-05 16:30:16 +08:00
|
|
|
|
public void setProtocolId(Integer protocolId) {
|
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
super.setProtocolId(0);
|
|
|
|
|
|
}
|
2018-05-25 13:25:21 +08:00
|
|
|
|
*//**
|
2018-05-21 09:05:21 +08:00
|
|
|
|
* tablename
|
|
|
|
|
|
* @return tablename
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
public static String getTablename() {
|
|
|
|
|
|
return tableName;
|
|
|
|
|
|
}
|
2018-10-22 21:27:08 +08:00
|
|
|
|
public String getIndexTable() {
|
|
|
|
|
|
return indexTable;
|
|
|
|
|
|
}
|
|
|
|
|
|
public void setIndexTable(String indexTable) {
|
|
|
|
|
|
this.indexTable = indexTable;
|
|
|
|
|
|
}
|
2018-02-07 14:51:11 +08:00
|
|
|
|
|
2018-06-22 15:59:47 +08:00
|
|
|
|
|
2018-02-07 14:51:11 +08:00
|
|
|
|
}
|