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月5日 下午5:42:52
* @version V1.0
*/
public class ComplexkeywordCfg extends BaseCfg{
public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
@@ -47,7 +47,7 @@ public class ComplexkeywordCfg extends BaseCfg{
/**
* 是否hex二进制
*/
protected Integer isHexbin = 0 ;
protected Integer isHexbin ;
/**
* district
* @return district
@@ -139,6 +139,15 @@ public class ComplexkeywordCfg extends BaseCfg{
*/
public void setIsHexbin(Integer isHexbin) {
this.isHexbin = isHexbin;
}
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
*/
@Override
protected void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.isHexbin = 0 ;
}
}