From 7859473e0c1f3a9cad4fe9fcff3308a181149f2e Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期四, 10 二月 2022 16:46:38 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/MatCode.java | 62 +++++++++++-------------------
1 files changed, 23 insertions(+), 39 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/MatCode.java b/src/main/java/com/zy/asrs/entity/MatCode.java
index 5f3ebf0..ad4d3bc 100644
--- a/src/main/java/com/zy/asrs/entity/MatCode.java
+++ b/src/main/java/com/zy/asrs/entity/MatCode.java
@@ -9,11 +9,13 @@
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
+@Data
@TableName("bas_mat_code")
public class MatCode implements Serializable {
@@ -70,23 +72,41 @@
@ApiModelProperty(value= "鍗曢噸")
private Double weight;
+ /**
+ * 鐗╂枡鍗曚綅
+ */
@ApiModelProperty(value= "")
private String str1;
+ /**
+ * 鐗╂枡瑙勬牸
+ */
@ApiModelProperty(value= "")
private String str2;
+
+ /**
+ * 瀹㈡埛鍚嶇О
+ */
@ApiModelProperty(value= "")
private String str3;
+ /**
+ * 椤圭洰淇℃伅
+ */
@ApiModelProperty(value= "")
private String str4;
-
+ /**
+ * 绫诲埆{1:鍘熸潗鏂�,2:鎴愬搧,3:鍗婃垚鍝亇
+ */
@ApiModelProperty(value= "")
private String str5;
+ /**
+ * 鏁伴噺
+ */
@ApiModelProperty(value= "")
- private String str6;
+ private Double str6;
@ApiModelProperty(value= "")
private String str7;
@@ -151,36 +171,7 @@
public MatCode() {}
- public MatCode(String barcode,String matName,String specs,String unit,String size,String color,Double weight,String str1,String str2,String str3,String str4,String str5,String str6,String str7,String str8,String str9,String str10,Double num1,Double num2,Double num3,Double num4,Double num5,Date date1,Long appeUser,Date appeTime,Long modiUser,Date modiTime,Short status) {
- this.barcode = barcode;
- this.matName = matName;
- this.specs = specs;
- this.unit = unit;
- this.size = size;
- this.color = color;
- this.weight = weight;
- this.str1 = str1;
- this.str2 = str2;
- this.str3 = str3;
- this.str4 = str4;
- this.str5 = str5;
- this.str6 = str6;
- this.str7 = str7;
- this.str8 = str8;
- this.str9 = str9;
- this.str10 = str10;
- this.num1 = num1;
- this.num2 = num2;
- this.num3 = num3;
- this.num4 = num4;
- this.num5 = num5;
- this.date1 = date1;
- this.appeUser = appeUser;
- this.appeTime = appeTime;
- this.modiUser = modiUser;
- this.modiTime = modiTime;
- this.status = status;
- }
+
// MatCode matCode = new MatCode(
// null, // 鏉$爜
@@ -306,13 +297,6 @@
this.str5 = str5;
}
- public String getStr6() {
- return str6;
- }
-
- public void setStr6(String str6) {
- this.str6 = str6;
- }
public String getStr7() {
return str7;
--
Gitblit v1.9.1