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/BaseCfg.java

789 lines
15 KiB
Java
Raw Normal View History

2018-02-07 14:51:11 +08:00
/**
*@Title: BaseConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 上午11:15:14
*@version 版本号
*/
package com.nis.domain.configuration;
import java.util.Date;
import java.util.List;
2018-02-07 14:51:11 +08:00
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.nis.domain.BaseEntity;
import com.nis.util.excel.ExcelField;
2018-02-07 14:51:11 +08:00
/**
* @ClassName: BaseConfig.java
* @Description: 基础配置
* @author (wx)
* @date 2018年2月5日 上午11:15:14
* @version V1.0
*/
public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
protected Integer areaType;
protected List<AreaBean> areaIsp;
protected List<AreaIpCfg> areaCfg;
protected String showName;//表在界面上展示的名称
protected String seltype;//选中类型,页面搜索用
protected String tableName;
/**
* 编译id
*/
protected Integer compileId ;
2018-02-07 14:51:11 +08:00
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = 3253728127555103620L;
/**
* 配置ID
*/
protected Long cfgId;
/**
* 配置描述
*/
@ExcelField(title="config_describe")
2018-02-07 14:51:11 +08:00
protected String cfgDesc;
/**
* GK类型
*/
@ExcelField(title="action")
2018-02-07 14:51:11 +08:00
protected Integer action;
/**
* 有效标识
*/
@ExcelField(title="valid_identifier")
@Expose
2018-02-07 14:51:11 +08:00
protected Integer isValid;
/**
* 是否审核
*/
@ExcelField(title="is_audit")
2018-02-07 14:51:11 +08:00
protected Integer isAudit;
/**
* 创建人员
*/
2018-02-24 15:59:48 +08:00
protected Long creatorId;
2018-02-25 18:39:26 +08:00
/**
* 创建人员
*/
@ExcelField(title="creator")
2018-02-25 18:39:26 +08:00
protected String creatorName;
2018-02-07 14:51:11 +08:00
/**
* 配置时间
*/
@ExcelField(title="config_time")
2018-02-07 14:51:11 +08:00
protected Date createTime;
/**
* 修改人员
*/
2018-02-24 15:59:48 +08:00
protected Long editorId;
2018-02-25 18:39:26 +08:00
/**
* 创建人员
*/
@ExcelField(title="editor")
2018-02-25 18:39:26 +08:00
protected String editorName;
2018-02-07 14:51:11 +08:00
/**
* 修改时间
*/
@ExcelField(title="edit_time")
2018-02-07 14:51:11 +08:00
protected Date editTime;
/**
* 审核人员
*/
2018-02-24 15:59:48 +08:00
protected Long auditorId;
2018-02-25 18:39:26 +08:00
/**
* 审核人员
*/
@ExcelField(title="auditor")
2018-02-25 18:39:26 +08:00
protected String auditorName;
2018-02-07 14:51:11 +08:00
/**
* 审核时间
*/
@Expose
@ExcelField(title="audit_time")
@SerializedName("opTime")
2018-02-07 14:51:11 +08:00
protected Date auditTime;
/**
* 业务id
*/
@Expose
@SerializedName("service")
2018-02-07 14:51:11 +08:00
protected Integer serviceId;
/**
* 来函id
*/
protected Integer requestId;
2018-02-25 18:39:26 +08:00
/**
* 来函
*/
@ExcelField(title="letter")
2018-02-25 18:39:26 +08:00
protected String requestName;
2018-02-07 14:51:11 +08:00
/**
* 是否区域gk
*/
@ExcelField(title="whether_area_block")
2018-02-07 14:51:11 +08:00
protected Integer isAreaEffective;
/**
* 分类
*/
@ExcelField(title="type")
2018-02-07 14:51:11 +08:00
protected String classify;
/**
* 性质
*/
@ExcelField(title="attribute")
2018-02-07 14:51:11 +08:00
protected String attribute;
/**
* 标签
*/
@ExcelField(title="label")
2018-02-07 14:51:11 +08:00
protected String lable;
2018-02-25 18:39:26 +08:00
/**
* 分类
*/
protected String classifyName;
/**
* 性质
*/
protected String attributeName;
/**
* 标签
*/
protected String lableName;
2018-02-07 14:51:11 +08:00
/**
* 区域生效id
*/
protected String areaEffectiveIds ;
/**
* 界面搜索时间条件
*/
protected Date search_create_time_start;
protected Date search_create_time_end;
protected Date search_edit_time_start;
protected Date search_edit_time_end;
protected Date search_audit_time_start;
protected Date search_audit_time_end;
2018-05-17 19:38:00 +08:00
/**
* 配置域码
*/
2018-05-17 19:43:33 +08:00
protected Integer cfgRegionCode;
2018-05-17 19:38:00 +08:00
/**
* 内容类型
*/
protected String cfgType;
/**
* 菜单ID
*/
protected Integer functionId;
2018-05-17 19:43:33 +08:00
/**
* cfgRegionCode
* @return cfgRegionCode
*/
public Integer getCfgRegionCode() {
return cfgRegionCode;
}
/**
* @param cfgRegionCode the cfgRegionCode to set
*/
public void setCfgRegionCode(Integer cfgRegionCode) {
this.cfgRegionCode = cfgRegionCode;
}
/**
* cfgType
* @return cfgType
*/
public String getCfgType() {
return cfgType;
}
/**
* @param cfgType the cfgType to set
*/
public void setCfgType(String cfgType) {
this.cfgType = cfgType;
}
/**
* functionId
* @return functionId
*/
public Integer getFunctionId() {
return functionId;
}
/**
* @param functionId the functionId to set
*/
public void setFunctionId(Integer functionId) {
this.functionId = functionId;
}
2018-02-07 14:51:11 +08:00
/**
* cfgId
* @return cfgId
*/
public Long getCfgId() {
return cfgId;
}
/**
* @param cfgId the cfgId to set
*/
public void setCfgId(Long cfgId) {
this.cfgId = cfgId;
}
/**
* action
* @return action
*/
public Integer getAction() {
return action;
}
/**
* @param action the action to set
*/
public void setAction(Integer action) {
this.action = action;
}
/**
* isValid
* @return isValid
*/
public Integer getIsValid() {
return isValid;
}
/**
* @param isValid the isValid to set
*/
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
/**
* isAudit
* @return isAudit
*/
public Integer getIsAudit() {
return isAudit;
}
/**
* @param isAudit the isAudit to set
*/
public void setIsAudit(Integer isAudit) {
this.isAudit = isAudit;
}
/**
* creatorId
* @return creatorId
*/
2018-02-24 15:59:48 +08:00
public Long getCreatorId() {
2018-02-07 14:51:11 +08:00
return creatorId;
}
/**
* @param creatorId the creatorId to set
*/
2018-02-24 15:59:48 +08:00
public void setCreatorId(Long creatorId) {
2018-02-07 14:51:11 +08:00
this.creatorId = creatorId;
}
/**
* createTime
* @return createTime
*/
public Date getCreateTime() {
return createTime;
}
/**
* @param createTime the createTime to set
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
/**
* editorId
* @return editorId
*/
2018-02-24 15:59:48 +08:00
public Long getEditorId() {
2018-02-07 14:51:11 +08:00
return editorId;
}
/**
* @param editorId the editorId to set
*/
2018-02-24 15:59:48 +08:00
public void setEditorId(Long editorId) {
2018-02-07 14:51:11 +08:00
this.editorId = editorId;
}
/**
* editTime
* @return editTime
*/
public Date getEditTime() {
return editTime;
}
/**
* @param editTime the editTime to set
*/
public void setEditTime(Date editTime) {
this.editTime = editTime;
}
/**
* auditorId
* @return auditorId
*/
2018-02-24 15:59:48 +08:00
public Long getAuditorId() {
2018-02-07 14:51:11 +08:00
return auditorId;
}
/**
* @param auditorId the auditorId to set
*/
2018-02-24 15:59:48 +08:00
public void setAuditorId(Long auditorId) {
2018-02-07 14:51:11 +08:00
this.auditorId = auditorId;
}
/**
* auditTime
* @return auditTime
*/
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
2018-02-07 14:51:11 +08:00
public Date getAuditTime() {
return auditTime;
}
/**
* @param auditTime the auditTime to set
*/
public void setAuditTime(Date auditTime) {
this.auditTime = auditTime;
}
/**
* serviceId
* @return serviceId
*/
public Integer getServiceId() {
return serviceId;
}
/**
* @param serviceId the serviceId to set
*/
public void setServiceId(Integer serviceId) {
this.serviceId = serviceId;
}
/**
* requestId
* @return requestId
*/
public Integer getRequestId() {
return requestId;
}
/**
* @param requestId the requestId to set
*/
public void setRequestId(Integer requestId) {
this.requestId = requestId;
}
/**
* compileId
* @return compileId
*/
// public Integer getCompileId() {
// return compileId;
// }
// /**
// * @param compileId the compileId to set
// */
// public void setCompileId(Integer compileId) {
// this.compileId = compileId;
// }
/**
* isAreaEffective
* @return isAreaEffective
*/
public Integer getIsAreaEffective() {
return isAreaEffective;
}
/**
* @param isAreaEffective the isAreaEffective to set
*/
public void setIsAreaEffective(Integer isAreaEffective) {
this.isAreaEffective = isAreaEffective;
}
/**
* classify
* @return classify
*/
public String getClassify() {
return classify;
}
/**
* @param classify the classify to set
*/
public void setClassify(String classify) {
this.classify = classify;
}
/**
* attribute
* @return attribute
*/
public String getAttribute() {
return attribute;
}
/**
* @param attribute the attribute to set
*/
public void setAttribute(String attribute) {
this.attribute = attribute;
}
/**
* lable
* @return lable
*/
public String getLable() {
return lable;
}
/**
* @param lable the lable to set
*/
public void setLable(String lable) {
this.lable = lable;
}
/**
* areaEffectiveIds
* @return areaEffectiveIds
*/
public String getAreaEffectiveIds() {
return areaEffectiveIds;
}
/**
* @param areaEffectiveIds the areaEffectiveIds to set
*/
public void setAreaEffectiveIds(String areaEffectiveIds) {
this.areaEffectiveIds = areaEffectiveIds;
}
/**
* cfgDesc
* @return cfgDesc
*/
2018-02-07 14:51:11 +08:00
public String getCfgDesc() {
return cfgDesc;
}
/**
* @param cfgDesc the cfgDesc to set
*/
public void setCfgDesc(String cfgDesc) {
this.cfgDesc = cfgDesc;
}
2018-02-07 14:51:11 +08:00
/**
* tableName
* @return tableName
*/
2018-02-07 14:51:11 +08:00
public String getTableName() {
return tableName;
}
/**
* @param tableName the tableName to set
*/
public void setTableName(String tableName) {
this.tableName = tableName;
}
2018-03-13 14:42:10 +08:00
public void initDefaultValue(){
}
2018-02-25 18:39:26 +08:00
/**
* creatorName
* @return creatorName
*/
public String getCreatorName() {
return creatorName;
}
/**
* @param creatorName the creatorName to set
*/
public void setCreatorName(String creatorName) {
this.creatorName = creatorName;
}
/**
* editorName
* @return editorName
*/
public String getEditorName() {
return editorName;
}
/**
* @param editorName the editorName to set
*/
public void setEditorName(String editorName) {
this.editorName = editorName;
}
/**
* auditorName
* @return auditorName
*/
public String getAuditorName() {
return auditorName;
}
/**
* @param auditorName the auditorName to set
*/
public void setAuditorName(String auditorName) {
this.auditorName = auditorName;
}
/**
* classifyName
* @return classifyName
*/
public String getClassifyName() {
return classifyName;
}
/**
* @param classifyName the classifyName to set
*/
public void setClassifyName(String classifyName) {
this.classifyName = classifyName;
}
/**
* attributeName
* @return attributeName
*/
public String getAttributeName() {
return attributeName;
}
/**
* @param attributeName the attributeName to set
*/
public void setAttributeName(String attributeName) {
this.attributeName = attributeName;
}
/**
* lableName
* @return lableName
*/
public String getLableName() {
return lableName;
}
/**
* @param lableName the lableName to set
*/
public void setLableName(String lableName) {
this.lableName = lableName;
}
/**
* requestName
* @return requestName
*/
public String getRequestName() {
return requestName;
}
/**
* @param requestName the requestName to set
*/
public void setRequestName(String requestName) {
this.requestName = requestName;
}
/**
* search_create_time_start
* @return search_create_time_start
*/
public Date getSearch_create_time_start() {
return search_create_time_start;
}
/**
* @param search_create_time_start the search_create_time_start to set
*/
public void setSearch_create_time_start(Date search_create_time_start) {
this.search_create_time_start = search_create_time_start;
}
/**
* search_create_time_end
* @return search_create_time_end
*/
public Date getSearch_create_time_end() {
return search_create_time_end;
}
/**
* @param search_create_time_end the search_create_time_end to set
*/
public void setSearch_create_time_end(Date search_create_time_end) {
this.search_create_time_end = search_create_time_end;
}
/**
* search_edit_time_start
* @return search_edit_time_start
*/
public Date getSearch_edit_time_start() {
return search_edit_time_start;
}
/**
* @param search_edit_time_start the search_edit_time_start to set
*/
public void setSearch_edit_time_start(Date search_edit_time_start) {
this.search_edit_time_start = search_edit_time_start;
}
/**
* search_edit_time_end
* @return search_edit_time_end
*/
public Date getSearch_edit_time_end() {
return search_edit_time_end;
}
/**
* @param search_edit_time_end the search_edit_time_end to set
*/
public void setSearch_edit_time_end(Date search_edit_time_end) {
this.search_edit_time_end = search_edit_time_end;
}
/**
* search_audit_time_start
* @return search_audit_time_start
*/
public Date getSearch_audit_time_start() {
return search_audit_time_start;
}
/**
* @param search_audit_time_start the search_audit_time_start to set
*/
public void setSearch_audit_time_start(Date search_audit_time_start) {
this.search_audit_time_start = search_audit_time_start;
}
/**
* search_audit_time_end
* @return search_audit_time_end
*/
public Date getSearch_audit_time_end() {
return search_audit_time_end;
}
/**
* @param search_audit_time_end the search_audit_time_end to set
*/
public void setSearch_audit_time_end(Date search_audit_time_end) {
this.search_audit_time_end = search_audit_time_end;
}
/**
* seltype
* @return seltype
*/
public String getSeltype() {
return seltype;
}
/**
* @param seltype the seltype to set
*/
public void setSeltype(String seltype) {
this.seltype = seltype;
}
/**
* compileId
* @return compileId
*/
public Integer getCompileId() {
return compileId;
}
/**
* @param compileId the compileId to set
*/
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
/* (non-Javadoc)
* @see java.lang.Object#clone()
*/
@Override
public Object clone() throws CloneNotSupportedException {
// TODO Auto-generated method stub
return super.clone();
}
/**
* areaCfg
* @return areaCfg
*/
public List<AreaIpCfg> getAreaCfg() {
return areaCfg;
}
/**
* @param areaCfg the areaCfg to set
*/
public void setAreaCfg(List<AreaIpCfg> areaCfg) {
this.areaCfg = areaCfg;
}
/**
* showName
* @return showName
*/
public String getShowName() {
return showName;
}
/**
* @param showName the showName to set
*/
public void setShowName(String showName) {
this.showName = showName;
}
/**
* areaIsp
* @return areaIsp
*/
public List<AreaBean> getAreaIsp() {
return areaIsp;
}
/**
* @param areaIsp the areaIsp to set
*/
public void setAreaIsp(List<AreaBean> areaIsp) {
this.areaIsp = areaIsp;
}
/**
* areaType
* @return areaType
*/
public Integer getAreaType() {
return areaType;
}
/**
* @param areaType the areaType to set
*/
public void setAreaType(Integer areaType) {
this.areaType = areaType;
}
2018-02-07 14:51:11 +08:00
}