pojo默认值调整,加入initDefaultValue()方法初始化默认值

This commit is contained in:
wangxin
2018-02-23 09:34:58 +08:00
parent 3a0e011c05
commit 4544cbc78b
49 changed files with 408 additions and 550 deletions

View File

@@ -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;
}
}