pojo默认值调整,加入initDefaultValue()方法初始化默认值
This commit is contained in:
39
src/main/java/com/nis/domain/configuration/AreaIpCfg.java
Normal file
39
src/main/java/com/nis/domain/configuration/AreaIpCfg.java
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
*@Title: AreaIpCfg.java
|
||||
*@Package com.nis.domain.configuration
|
||||
*@Description TODO
|
||||
*@author dell
|
||||
*@date 2018年2月8日 上午9:47:29
|
||||
*@version 版本号
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
/**
|
||||
* @ClassName: AreaIpCfg.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2018年2月8日 上午9:47:29
|
||||
* @version V1.0
|
||||
*/
|
||||
public class AreaIpCfg extends BaseIpCfg {
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 2367503808235405524L;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.configuration.BaseIpCfg#initDefaultValue()
|
||||
*/
|
||||
@Override
|
||||
public void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.protocolId=0;
|
||||
this.isAreaEffective=0;
|
||||
this.areaEffectiveIds="NULL";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user