This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/domain/configuration/MailAttachNameCfg.java

60 lines
1.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
*@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;
}
}