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;
|
|
|
|
|
|
|
2018-02-23 09:34:58 +08:00
|
|
|
|
import com.nis.domain.BaseEntity;
|
|
|
|
|
|
|
2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* @ClassName: BaseConfig.java
|
|
|
|
|
|
* @Description: 基础配置
|
|
|
|
|
|
* @author (wx)
|
|
|
|
|
|
* @date 2018年2月5日 上午11:15:14
|
|
|
|
|
|
* @version V1.0
|
|
|
|
|
|
*/
|
2018-02-23 09:34:58 +08:00
|
|
|
|
public class BaseCfg<T> extends BaseEntity<T> {
|
|
|
|
|
|
protected String tableName;
|
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;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 配置描述
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected String cfgDesc;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* GK类型
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer action;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 有效标识
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer isValid;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 是否审核
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer isAudit;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 创建人员
|
|
|
|
|
|
*/
|
2018-02-24 15:59:48 +08:00
|
|
|
|
protected Long creatorId;
|
2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 配置时间
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Date createTime;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改人员
|
|
|
|
|
|
*/
|
2018-02-24 15:59:48 +08:00
|
|
|
|
protected Long editorId;
|
2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 修改时间
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Date editTime;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 审核人员
|
|
|
|
|
|
*/
|
2018-02-24 15:59:48 +08:00
|
|
|
|
protected Long auditorId;
|
2018-02-07 14:51:11 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 审核时间
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Date auditTime;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 业务id
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer serviceId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 来函id
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer requestId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 编译id
|
|
|
|
|
|
*/
|
|
|
|
|
|
// protected Integer compileId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 是否区域gk
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected Integer isAreaEffective;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 分类
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected String classify;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 性质
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected String attribute;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 标签
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected String lable;
|
|
|
|
|
|
// protected Integer exprType =0;
|
|
|
|
|
|
// protected Integer matchMethod =0;
|
|
|
|
|
|
// protected Integer isHexbin =0;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 区域生效id
|
|
|
|
|
|
*/
|
|
|
|
|
|
protected String areaEffectiveIds ;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 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
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
2018-02-23 09:34:58 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* cfgDesc
|
|
|
|
|
|
* @return cfgDesc
|
|
|
|
|
|
*/
|
2018-02-07 14:51:11 +08:00
|
|
|
|
|
2018-02-23 09:34:58 +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
|
|
|
|
|
2018-02-23 09:34:58 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* tableName
|
|
|
|
|
|
* @return tableName
|
|
|
|
|
|
*/
|
2018-02-07 14:51:11 +08:00
|
|
|
|
|
2018-02-23 09:34:58 +08:00
|
|
|
|
public String getTableName() {
|
|
|
|
|
|
return tableName;
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @param tableName the tableName to set
|
|
|
|
|
|
*/
|
|
|
|
|
|
public void setTableName(String tableName) {
|
|
|
|
|
|
this.tableName = tableName;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected void initDefaultValue(){
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2018-02-07 14:51:11 +08:00
|
|
|
|
}
|