From 4b2e1cf398cb32b3de7612c684156f8a2548fd0e Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期二, 26 七月 2022 11:47:18 +0800 Subject: [PATCH] 更新工作流 --- src/main/java/com/whyc/pojo/ProductBomHistory.java | 77 +++++++++++++++++++++++++++----------- 1 files changed, 55 insertions(+), 22 deletions(-) diff --git a/src/main/java/com/whyc/pojo/ProductBomHistory.java b/src/main/java/com/whyc/pojo/ProductBomHistory.java index b6aeec9..6b523ed 100644 --- a/src/main/java/com/whyc/pojo/ProductBomHistory.java +++ b/src/main/java/com/whyc/pojo/ProductBomHistory.java @@ -1,6 +1,8 @@ package com.whyc.pojo; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModelProperty; import org.apache.ibatis.type.Alias; import java.util.Date; @@ -13,44 +15,51 @@ public class ProductBomHistory { private Integer id; - /**姣嶆枡缂栧彿*/ + @ApiModelProperty("姣嶆枡缂栧彿") private String parentCode; - /**姣嶆枡鍚嶇О*/ + @ApiModelProperty("姣嶆枡鍚嶇О") private String parentName; - /**姣嶆枡鍨嬪彿*/ + @ApiModelProperty("姣嶆枡鍨嬪彿") private String parentModel; - /** 绫诲埆*/ + @ApiModelProperty("缁撴瀯浠剁被鍨�") + private String type; + @ApiModelProperty("绫诲埆") private String category; - /**瀛愪欢缂栫爜*/ + @ApiModelProperty("瀛愪欢缂栫爜") private String subCode; - /**瀛愪欢鍚嶇О*/ + @ApiModelProperty("瀛愪欢鍚嶇О") private String subName; - /**瀛愪欢鍨嬪彿*/ + @ApiModelProperty("瀛愪欢鍨嬪彿") private String subModel; - /**鍗曚綅*/ + @ApiModelProperty("鍗曚綅") private String unit; - /**瀛愪欢鏁伴噺*/ + @ApiModelProperty("瀛愪欢鏁伴噺") private Integer quantity; - /**鐢熶骇鍟�*/ + @ApiModelProperty("鐢熶骇鍟�") private String producer; - /**灏佽绫诲瀷/鏉愯川*/ + @ApiModelProperty("灏佽绫诲瀷/鏉愯川") private String material; - /**鍏冧欢缂栧彿/鏂欏帤*/ + @ApiModelProperty("鍏冧欢缂栧彿/鏂欏帤") private String thickness; - /**琛ㄩ潰澶勭悊/鐗╂枡璇︽儏*/ + @ApiModelProperty("琛ㄩ潰澶勭悊/鐗╂枡璇︽儏") private String surfaceDetail; - /** 澶囨敞*/ + @ApiModelProperty("澶囨敞") private String notes; private String pictureUrl; private String fileUrl; - /**涓婁紶浜�*/ + @ApiModelProperty("涓婁紶浜�") private String upUser; private Date createDate; - private Integer updateType; - /**璧峰鐗堟湰鍙�*/ + private Date updateDate; + @ApiModelProperty("璧峰鐗堟湰鍙�") private Integer sVersion; - /**缁堟鐗堟湰鍙�*/ + @ApiModelProperty("缁堟鐗堟湰鍙�") private Integer eVersion; + @ApiModelProperty("姣嶆枡鐗堟湰鍙�(浜у搧鐗堟湰鍙�)") + private String parentVersion; + + @ApiModelProperty("宸ョ▼鍥剧焊url") + private String dwgUrl; public Integer getId() { return id; @@ -82,6 +91,14 @@ public void setParentModel(String parentModel) { this.parentModel = parentModel; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; } public String getCategory() { @@ -204,12 +221,12 @@ this.createDate = createDate; } - public Integer getUpdateType() { - return updateType; + public Date getUpdateDate() { + return updateDate; } - public void setUpdateType(Integer updateType) { - this.updateType = updateType; + public void setUpdateDate(Date updateDate) { + this.updateDate = updateDate; } public Integer getsVersion() { @@ -227,4 +244,20 @@ 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; + } + + public void setDwgUrl(String dwgUrl) { + this.dwgUrl = dwgUrl; + } } -- Gitblit v1.9.1