From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: 星期一, 19 六月 2023 14:22:45 +0800
Subject: [PATCH] 描述

---
 src/main/java/com/gk/firework/Domain/Vo/ProductVo.java |  116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 116 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/gk/firework/Domain/Vo/ProductVo.java b/src/main/java/com/gk/firework/Domain/Vo/ProductVo.java
new file mode 100644
index 0000000..fca0678
--- /dev/null
+++ b/src/main/java/com/gk/firework/Domain/Vo/ProductVo.java
@@ -0,0 +1,116 @@
+package com.gk.firework.Domain.Vo;
+
+import com.gk.firework.Domain.ProductInfo;
+import io.swagger.models.auth.In;
+
+import java.math.BigDecimal;
+import java.util.*;
+
+/**
+ * @author : jingjy
+ * @date : 2021/3/19 9:37
+ */
+public class ProductVo extends ProductInfo {
+    /** 产品条码 */
+    private String itemCode ;
+    /** 日期码*/
+    private String dateCode ;
+    /** 序列号 */
+    private String serialNo;
+    /** 箱码 */
+    private String boxNo ;
+    /** 可入库标记 */
+    private String entryFlag ;
+    /** 数量 */
+    private Integer num;
+
+    private BigDecimal price;
+
+    private Integer changenum;
+
+    public String getItemCode() {
+        return itemCode;
+    }
+
+    public void setItemCode(String itemCode) {
+        this.itemCode = itemCode;
+    }
+
+    public String getDateCode() {
+        return dateCode;
+    }
+
+    public void setDateCode(String dateCode) {
+        this.dateCode = dateCode;
+    }
+
+    public String getSerialNo() {
+        return serialNo;
+    }
+
+    public void setSerialNo(String serialNo) {
+        this.serialNo = serialNo;
+    }
+
+    public String getBoxNo() {
+        return boxNo;
+    }
+
+    public void setBoxNo(String boxNo) {
+        this.boxNo = boxNo;
+    }
+
+    public String getEntryFlag() {
+        return entryFlag;
+    }
+
+    public void setEntryFlag(String entryFlag) {
+        this.entryFlag = entryFlag;
+    }
+
+    public Integer getNum() {
+        return num;
+    }
+
+    public void setNum(Integer num) {
+        this.num = num;
+    }
+
+    @Override
+    public boolean equals(Object o) {
+        if (this == o) {
+            return true;
+        }
+        if (o == null || getClass() != o.getClass()) {
+            return false;
+        }
+        ProductVo productVo = (ProductVo) o;
+        return Objects.equals(getDirectionCode(), productVo.getDirectionCode()) ;
+    }
+
+    @Override
+    public int hashCode() {
+        return Objects.hash(getDirectionCode());
+    }
+
+    public static List<ProductVo> removeListDuplicateObject(List<ProductVo> list) {
+        Set<ProductVo> set = new HashSet<>(list);
+        return new ArrayList<>(set);
+    }
+
+    public BigDecimal getPrice() {
+        return price;
+    }
+
+    public void setPrice(BigDecimal price) {
+        this.price = price;
+    }
+
+    public Integer getChangenum() {
+        return changenum;
+    }
+
+    public void setChangenum(Integer changenum) {
+        this.changenum = changenum;
+    }
+}

--
Gitblit v1.9.2