50 lines
1.2 KiB
Java
50 lines
1.2 KiB
Java
/**
|
||
*@Title: MailSubjectConfig.java
|
||
*@Package com.nis.domain.restful
|
||
*@Description TODO
|
||
*@author dell
|
||
*@date 2018年2月5日 下午6:22:21
|
||
*@version 版本号
|
||
*/
|
||
package com.nis.domain.configuration;
|
||
|
||
import org.apache.commons.lang3.StringUtils;
|
||
|
||
/**
|
||
* @ClassName: MailSubjectConfig.java
|
||
* @Description: TODO
|
||
* @author (dell)
|
||
* @date 2018年2月5日 下午6:22:21
|
||
* @version V1.0
|
||
*/
|
||
public class MailSubjectCfg extends ComplexkeywordCfg {
|
||
public static final String tableName="mail_subject_cfg";
|
||
/**
|
||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||
*
|
||
* @since 1.0.0
|
||
*/
|
||
|
||
private static final long serialVersionUID = -547690498444330212L;
|
||
/* (non-Javadoc)
|
||
* @see com.nis.domain.restful.BaseEnhancedStringConfig#getDistrict()
|
||
*/
|
||
@Override
|
||
public String getDistrict() {
|
||
if(StringUtils.isBlank(this.district))
|
||
return "Subject";
|
||
else
|
||
return this.district;
|
||
}
|
||
/* (non-Javadoc)
|
||
* @see com.nis.domain.restful.BaseStringConfig#getExprType()
|
||
*/
|
||
@Override
|
||
public Integer getExprType() {
|
||
if(this.exprType==null)
|
||
return 3;
|
||
else
|
||
return this.exprType;
|
||
}
|
||
}
|