/** *@Title: MailAttachNameConfig.java *@Package com.nis.domain.restful *@Description TODO *@author dell *@date 2018年2月5日 下午6:25:21 *@version 版本号 */ package com.nis.domain.configuration; import org.apache.commons.lang3.StringUtils; /** * @ClassName: MailAttachNameConfig.java * @Description: TODO * @author (dell) * @date 2018年2月5日 下午6:25:21 * @version V1.0 */ public class MailAttachNameCfg extends ComplexkeywordCfg { public static final String tableName="mail_attach_name_cfg"; /** * @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么) * * @since 1.0.0 */ private static final long serialVersionUID = 9067647371707152226L; /* (non-Javadoc) * @see com.nis.domain.restful.BaseEnhancedStringConfig#getDistrict() */ @Override public String getDistrict() { if(StringUtils.isBlank(this.district)) return "AttachName"; 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; } }