ntcSubscribeIdCfg.java 直接继承使用字符串类,部分字段默认值
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
package com.nis.domain.configuration;
|
package com.nis.domain.configuration;
|
||||||
|
|
||||||
import com.google.gson.annotations.Expose;
|
public class NtcSubscribeIdCfg extends BaseStringCfg<NtcSubscribeIdCfg> {
|
||||||
import com.google.gson.annotations.SerializedName;
|
private static final String tableName="ntc_subscribe_id_cfg";
|
||||||
import com.nis.util.excel.ExcelField;
|
|
||||||
|
|
||||||
public class NtcSubscribeIdCfg extends BaseCfg<NtcSubscribeIdCfg> {
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -13,18 +9,15 @@ public class NtcSubscribeIdCfg extends BaseCfg<NtcSubscribeIdCfg> {
|
|||||||
/**
|
/**
|
||||||
* 配置关键字
|
* 配置关键字
|
||||||
*/
|
*/
|
||||||
@Expose
|
|
||||||
@SerializedName("keywords")
|
|
||||||
@ExcelField(title="key_word")
|
|
||||||
protected String cfgKeywords;
|
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getCfgKeywords() {
|
public void initDefaultValue() {
|
||||||
return cfgKeywords;
|
super.initDefaultValue();
|
||||||
|
this.exprType=0;
|
||||||
|
this.matchMethod=0;
|
||||||
}
|
}
|
||||||
public void setCfgKeywords(String cfgKeywords) {
|
public static String getTablename() {
|
||||||
this.cfgKeywords = cfgKeywords;
|
return tableName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user