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