pojo默认值调整,加入initDefaultValue()方法初始化默认值
This commit is contained in:
@@ -15,7 +15,7 @@ package com.nis.domain.configuration;
|
||||
* @date 2018年2月6日 上午10:37:45
|
||||
* @version V1.0
|
||||
*/
|
||||
public class NumBoundaryCfg extends BaseCfg {
|
||||
public class NumBoundaryCfg extends BaseCfg<NumBoundaryCfg> {
|
||||
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
@@ -35,13 +35,25 @@ public class NumBoundaryCfg extends BaseCfg {
|
||||
/**
|
||||
* 数值上界
|
||||
*/
|
||||
protected Integer exprType = 3;
|
||||
protected Integer exprType ;
|
||||
/**
|
||||
* 数值上界
|
||||
*/
|
||||
protected Integer matchMethod = 0;
|
||||
protected Integer matchMethod ;
|
||||
/**
|
||||
* 数值上界
|
||||
*/
|
||||
protected Integer isHexbin = 0;
|
||||
protected Integer isHexbin ;
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
|
||||
*/
|
||||
@Override
|
||||
protected void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.exprType = 3;
|
||||
this.matchMethod = 0;
|
||||
this.isHexbin = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user