From aed776a596733e8a5dd4b9f62b634db859baffa7 Mon Sep 17 00:00:00 2001 From: liukai <35074062@qq.com> Date: Fri, 18 Mar 2022 14:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pms/ocp/model/entity/OcpTenantAudit.java | 330 +----------------- 1 file changed, 5 insertions(+), 325 deletions(-) diff --git a/src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java b/src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java index d340d7e..1dce442 100644 --- a/src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java +++ b/src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java @@ -99,77 +99,6 @@ public class OcpTenantAudit implements Serializable { @Excel(name = " 上一版本",orderNum = "11") private String perTenantVersion; -// private static final long serialVersionUID = 1L; -// -// @ApiModelProperty("服务编码") -// private String apiCode; -// -// @ApiModelProperty("服务部署公司") -// private String apiDepCompanyCode; -// -// @ApiModelProperty("应用所属公司") -// private String tenantDepCompanyCode; -// -// @ApiModelProperty("关系创建时间") -// private Timestamp apiTenantRelCtime; -// -// @ApiModelProperty("关系创建时间") -// private Timestamp apiTenantRelMtime; -// -// @ApiModelProperty("关系创建用户ID") -// private String apiTenantRelUserId; -// -// @ApiModelProperty("关系创建用户") -// private String apiTenantRelUserName; -// -// @ApiModelProperty("是否已删除0未删除,1已删除") -// private long isDelete; -// -// @ApiModelProperty("服务接口中文名称") -// private String apiName; -// -// @ApiModelProperty("服务分类代码") -// private String apiGroupCode; -// -// @ApiModelProperty("推广类型0:统建;1:自建") -// private long apiPromotion; -// -// @ApiModelProperty("服务请求体") -// private String apiReq; -// -// @ApiModelProperty("服务返回体") -// private String apiResp; -// -// @ApiModelProperty("服务地址") -// private String apiUrl; -// -// @ApiModelProperty("服务创建时间") -// private Timestamp apiCtime; -// -// @ApiModelProperty("服务修改时间") -// private Timestamp apiMtime; -// -// @ApiModelProperty("创建者用户ID") -// private String apiUserId; -// -// @ApiModelProperty("建设单位") -// private String apiUnit; -// -// @ApiModelProperty("服务所属公司") -// private String ownerCompanyCode; -// -// @ApiModelProperty("服务所属公司") -// private String ownerCompanyName; -// -// @ApiModelProperty("所属区域 1:生产控制大区;2:信息关联大区;3:互联网大区") -// private long apiZone; -// -// @ApiModelProperty("'所属层级 1:应用层;2:平台层;3:网络层;4:感知层;") -// private long apiLayer; -// -// @ApiModelProperty("服务版本(最新版本)") -// private long apiVersion; - public String getObjId() { return objId; } @@ -234,7 +163,7 @@ public class OcpTenantAudit implements Serializable { this.auditUserName = auditUserName; } - public Date getAuditCtime() { + public Timestamp getAuditCtime() { return auditCtime; } @@ -242,6 +171,10 @@ public class OcpTenantAudit implements Serializable { this.auditCtime = auditCtime; } + public String getApplyVersion() { + return applyVersion; + } + public void setApplyVersion(String applyVersion) { this.applyVersion = applyVersion; } @@ -253,257 +186,4 @@ public class OcpTenantAudit implements Serializable { public void setPerTenantVersion(String perTenantVersion) { this.perTenantVersion = perTenantVersion; } - -// public static long getSerialVersionUID() { -// return serialVersionUID; -// } -// -// public String getApiCode() { -// return apiCode; -// } -// -// public void setApiCode(String apiCode) { -// this.apiCode = apiCode; -// } -// -// public String getApiDepCompanyCode() { -// return apiDepCompanyCode; -// } -// -// public void setApiDepCompanyCode(String apiDepCompanyCode) { -// this.apiDepCompanyCode = apiDepCompanyCode; -// } -// -// public String getTenantDepCompanyCode() { -// return tenantDepCompanyCode; -// } -// -// public void setTenantDepCompanyCode(String tenantDepCompanyCode) { -// this.tenantDepCompanyCode = tenantDepCompanyCode; -// } -// -// public Timestamp getApiTenantRelCtime() { -// return apiTenantRelCtime; -// } -// -// public void setApiTenantRelCtime(Timestamp apiTenantRelCtime) { -// this.apiTenantRelCtime = apiTenantRelCtime; -// } -// -// public Timestamp getApiTenantRelMtime() { -// return apiTenantRelMtime; -// } -// -// public void setApiTenantRelMtime(Timestamp apiTenantRelMtime) { -// this.apiTenantRelMtime = apiTenantRelMtime; -// } -// -// public String getApiTenantRelUserId() { -// return apiTenantRelUserId; -// } -// -// public void setApiTenantRelUserId(String apiTenantRelUserId) { -// this.apiTenantRelUserId = apiTenantRelUserId; -// } -// -// public String getApiTenantRelUserName() { -// return apiTenantRelUserName; -// } -// -// public void setApiTenantRelUserName(String apiTenantRelUserName) { -// this.apiTenantRelUserName = apiTenantRelUserName; -// } -// -// public long getIsDelete() { -// return isDelete; -// } -// -// public void setIsDelete(long isDelete) { -// this.isDelete = isDelete; -// } -// -// public String getApiName() { -// return apiName; -// } -// -// public void setApiName(String apiName) { -// this.apiName = apiName; -// } -// -// public String getApiGroupCode() { -// return apiGroupCode; -// } -// -// public void setApiGroupCode(String apiGroupCode) { -// this.apiGroupCode = apiGroupCode; -// } -// -// public long getApiPromotion() { -// return apiPromotion; -// } -// -// public void setApiPromotion(long apiPromotion) { -// this.apiPromotion = apiPromotion; -// } -// -// public String getApiReq() { -// return apiReq; -// } -// -// public void setApiReq(String apiReq) { -// this.apiReq = apiReq; -// } -// -// public String getApiResp() { -// return apiResp; -// } -// -// public void setApiResp(String apiResp) { -// this.apiResp = apiResp; -// } -// -// public String getApiUrl() { -// return apiUrl; -// } -// -// public void setApiUrl(String apiUrl) { -// this.apiUrl = apiUrl; -// } -// -// public Timestamp getApiCtime() { -// return apiCtime; -// } -// -// public void setApiCtime(Timestamp apiCtime) { -// this.apiCtime = apiCtime; -// } -// -// public Timestamp getApiMtime() { -// return apiMtime; -// } -// -// public void setApiMtime(Timestamp apiMtime) { -// this.apiMtime = apiMtime; -// } -// -// public String getApiUserId() { -// return apiUserId; -// } -// -// public void setApiUserId(String apiUserId) { -// this.apiUserId = apiUserId; -// } -// -// public String getApiUnit() { -// return apiUnit; -// } -// -// public void setApiUnit(String apiUnit) { -// this.apiUnit = apiUnit; -// } -// -// public String getOwnerCompanyCode() { -// return ownerCompanyCode; -// } -// -// public void setOwnerCompanyCode(String ownerCompanyCode) { -// this.ownerCompanyCode = ownerCompanyCode; -// } -// -// public String getOwnerCompanyName() { -// return ownerCompanyName; -// } -// -// public void setOwnerCompanyName(String ownerCompanyName) { -// this.ownerCompanyName = ownerCompanyName; -// } -// -// public long getApiZone() { -// return apiZone; -// } -// -// public void setApiZone(long apiZone) { -// this.apiZone = apiZone; -// } -// -// public long getApiLayer() { -// return apiLayer; -// } -// -// public void setApiLayer(long apiLayer) { -// this.apiLayer = apiLayer; -// } -// -// public long getApiVersion() { -// return apiVersion; -// } -// -// public void setApiVersion(long apiVersion) { -// this.apiVersion = apiVersion; -// } - -// @Override -// public boolean equals(Object that) { -// if (this == that) { -// return true; -// } -// if (that == null) { -// return false; -// } -// if (getClass() != that.getClass()) { -// return false; -// } -// OcpTenantAudit other = (OcpTenantAudit) that; -// return (this.getObjId() == null ? other.getObjId() == null : this.getObjId().equals(other.getObjId())) -// && (this.getTenantCode() == null ? other.getTenantCode() == null : this.getTenantCode().equals(other.getTenantCode())) -// && (this.getOperStatus() == null ? other.getOperStatus() == null : this.getOperStatus().equals(other.getOperStatus())) -// && (this.getAuditType() == null ? other.getAuditType() == null : this.getAuditType().equals(other.getAuditType())) -// && (this.getAuditMessage() == null ? other.getAuditMessage() == null : this.getAuditMessage().equals(other.getAuditMessage())) -// && (this.getAuditJson() == null ? other.getAuditJson() == null : this.getAuditJson().equals(other.getAuditJson())) -// && (this.getAuditUserId() == null ? other.getAuditUserId() == null : this.getAuditUserId().equals(other.getAuditUserId())) -// && (this.getAuditUserName() == null ? other.getAuditUserName() == null : this.getAuditUserName().equals(other.getAuditUserName())) -// && (this.getAuditCtime() == null ? other.getAuditCtime() == null : this.getAuditCtime().equals(other.getAuditCtime())) -// && (this.getApplyVersion() == null ? other.getApplyVersion() == null : this.getApplyVersion().equals(other.getApplyVersion())) -// && (this.getPerTenantVersion() == null ? other.getPerTenantVersion() == null : this.getPerTenantVersion().equals(other.getPerTenantVersion())); -// } -// -// @Override -// public int hashCode() { -// final int prime = 31; -// int result = 1; -// result = prime * result + ((getObjId() == null) ? 0 : getObjId().hashCode()); -// result = prime * result + ((getTenantCode() == null) ? 0 : getTenantCode().hashCode()); -// result = prime * result + ((getOperStatus() == null) ? 0 : getOperStatus().hashCode()); -// result = prime * result + ((getAuditType() == null) ? 0 : getAuditType().hashCode()); -// result = prime * result + ((getAuditMessage() == null) ? 0 : getAuditMessage().hashCode()); -// result = prime * result + ((getAuditJson() == null) ? 0 : getAuditJson().hashCode()); -// result = prime * result + ((getAuditUserId() == null) ? 0 : getAuditUserId().hashCode()); -// result = prime * result + ((getAuditUserName() == null) ? 0 : getAuditUserName().hashCode()); -// result = prime * result + ((getAuditCtime() == null) ? 0 : getAuditCtime().hashCode()); -// result = prime * result + ((getApplyVersion() == null) ? 0 : getApplyVersion().hashCode()); -// result = prime * result + ((getPerTenantVersion() == null) ? 0 : getPerTenantVersion().hashCode()); -// return result; -// } -// -// @Override -// public String toString() { -// StringBuilder sb = new StringBuilder(); -// sb.append(getClass().getSimpleName()); -// sb.append(" ["); -// sb.append("Hash = ").append(hashCode()); -// sb.append(", objId=").append(objId); -// sb.append(", tenantCode=").append(tenantCode); -// sb.append(", operStatus=").append(operStatus); -// sb.append(", auditType=").append(auditType); -// sb.append(", auditMessage=").append(auditMessage); -// sb.append(", auditJson=").append(auditJson); -// sb.append(", auditUserId=").append(auditUserId); -// sb.append(", auditUserName=").append(auditUserName); -// sb.append(", auditCtime=").append(auditCtime); -// sb.append(", applyVersion=").append(applyVersion); -// sb.append(", perTenantVersion=").append(perTenantVersion); -// sb.append(", serialVersionUID=").append(serialVersionUID); -// sb.append("]"); -// return sb.toString(); -// } } \ No newline at end of file -- 2.26.0