From 8a935b1627f1ffdbe222ad9b156c8e9e8573a9c7 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期三, 17 八月 2022 17:29:54 +0800 Subject: [PATCH] 实体类修改 --- src/main/java/com/whyc/pojo/ProductBomHistory.java | 81 ++++++---------------------------------- 1 files changed, 12 insertions(+), 69 deletions(-) diff --git a/src/main/java/com/whyc/pojo/ProductBomHistory.java b/src/main/java/com/whyc/pojo/ProductBomHistory.java index bca67e3..d87f1db 100644 --- a/src/main/java/com/whyc/pojo/ProductBomHistory.java +++ b/src/main/java/com/whyc/pojo/ProductBomHistory.java @@ -15,12 +15,8 @@ public class ProductBomHistory { private Integer id; - @ApiModelProperty("姣嶆枡缂栧彿") - private String parentCode; - @ApiModelProperty("姣嶆枡鍚嶇О") - private String parentName; - @ApiModelProperty("姣嶆枡鍨嬪彿") - private String parentModel; + @ApiModelProperty("浜у搧id") + private Integer productId; @ApiModelProperty("缁撴瀯浠剁被鍨�") private String type; @ApiModelProperty("绫诲埆") @@ -50,13 +46,8 @@ @ApiModelProperty("涓婁紶浜�") private Long upUserId; private Date createDate; - //private Date updateDate; - @ApiModelProperty("璧峰鐗堟湰鍙�") - private Integer sVersion; - @ApiModelProperty("缁堟鐗堟湰鍙�") - private Integer eVersion; - @ApiModelProperty("姣嶆枡鐗堟湰鍙�(浜у搧鐗堟湰鍙�)") - private String parentVersion; + @ApiModelProperty("鐗堟湰鍙�") + private Integer version; @ApiModelProperty("宸ョ▼鍥剧焊url") private String dwgUrl; @@ -75,30 +66,6 @@ public void setId(Integer id) { this.id = id; - } - - public String getParentCode() { - return parentCode; - } - - public void setParentCode(String parentCode) { - this.parentCode = parentCode; - } - - public String getParentName() { - return parentName; - } - - public void setParentName(String parentName) { - this.parentName = parentName; - } - - public String getParentModel() { - return parentModel; - } - - public void setParentModel(String parentModel) { - this.parentModel = parentModel; } public String getType() { @@ -229,30 +196,6 @@ this.createDate = createDate; } - public Integer getSVersion() { - return sVersion; - } - - public void setSVersion(Integer sVersion) { - this.sVersion = sVersion; - } - - public Integer getEVersion() { - return eVersion; - } - - public void setEVersion(Integer eVersion) { - this.eVersion = eVersion; - } - - public String getParentVersion() { - return parentVersion; - } - - public void setParentVersion(String parentVersion) { - this.parentVersion = parentVersion; - } - public String getDwgUrl() { return dwgUrl; } @@ -261,20 +204,20 @@ this.dwgUrl = dwgUrl; } - public Integer getsVersion() { - return sVersion; + public Integer getProductId() { + return productId; } - public void setsVersion(Integer sVersion) { - this.sVersion = sVersion; + public void setProductId(Integer productId) { + this.productId = productId; } - public Integer geteVersion() { - return eVersion; + public Integer getVersion() { + return version; } - public void seteVersion(Integer eVersion) { - this.eVersion = eVersion; + public void setVersion(Integer version) { + this.version = version; } public String getOldSubName() { -- Gitblit v1.9.1