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