pojo默认值调整,加入initDefaultValue()方法初始化默认值
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.nis.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* @ClassName: BaseConfig.java
|
||||
* @Description: 基础配置
|
||||
@@ -18,7 +19,8 @@ import java.util.Date;
|
||||
* @date 2018年2月5日 上午11:15:14
|
||||
* @version V1.0
|
||||
*/
|
||||
public class BaseCfg implements Serializable {
|
||||
public class BaseCfg<T> extends BaseEntity<T> {
|
||||
protected String tableName;
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
@@ -358,7 +360,37 @@ public class BaseCfg implements Serializable {
|
||||
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
||||
this.areaEffectiveIds = areaEffectiveIds;
|
||||
}
|
||||
/**
|
||||
* cfgDesc
|
||||
* @return cfgDesc
|
||||
*/
|
||||
|
||||
public String getCfgDesc() {
|
||||
return cfgDesc;
|
||||
}
|
||||
/**
|
||||
* @param cfgDesc the cfgDesc to set
|
||||
*/
|
||||
public void setCfgDesc(String cfgDesc) {
|
||||
this.cfgDesc = cfgDesc;
|
||||
}
|
||||
|
||||
/**
|
||||
* tableName
|
||||
* @return tableName
|
||||
*/
|
||||
|
||||
public String getTableName() {
|
||||
return tableName;
|
||||
}
|
||||
/**
|
||||
* @param tableName the tableName to set
|
||||
*/
|
||||
public void setTableName(String tableName) {
|
||||
this.tableName = tableName;
|
||||
}
|
||||
|
||||
protected void initDefaultValue(){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user