From fbc53e77f994f15c3ebcd4fa07dfd23671c0ce26 Mon Sep 17 00:00:00 2001
From: lishenao <3065849776@qq.com>
Date: 星期五, 04 七月 2025 16:04:51 +0800
Subject: [PATCH] 入库管理,出库管理,库存管理后端接口修改
---
src/main/java/com/ruoyi/inventory/pojo/StockIn.java | 55 +++++++++++++++++++++++--------------------------------
1 files changed, 23 insertions(+), 32 deletions(-)
diff --git a/src/main/java/com/ruoyi/inventory/pojo/StockIn.java b/src/main/java/com/ruoyi/inventory/pojo/StockIn.java
index d28cd2e..f6f52e6 100644
--- a/src/main/java/com/ruoyi/inventory/pojo/StockIn.java
+++ b/src/main/java/com/ruoyi/inventory/pojo/StockIn.java
@@ -1,31 +1,31 @@
package com.ruoyi.inventory.pojo;
-
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
-import java.util.List;
-
+import com.baomidou.mybatisplus.annotation.*;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+
+import javax.validation.constraints.NotNull;
/**
*
* @TableName stock_in
*/
@Data
-public class StockIn implements Serializable {
+@TableName("stock_in")
+public class StockIn{
/**
* 鍏ュ簱璁板綍ID
*/
+ @TableId(type = IdType.AUTO)
private Integer id;
-
- /**
- * 浜у搧id
- */
- private Integer productId;
/**
* 鍏ュ簱鏃堕棿
*/
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date inboundTime;
/**
@@ -34,40 +34,31 @@
private String inboundBatch;
/**
- * 渚涘簲鍟嗗悕绉�
+ * 渚涘簲鍟唅d
*/
- private String supplierName;
-
+ private Integer supplierId;
/**
* 鍏ュ簱鏁伴噺
*/
private Integer inboundQuantity;
- /**
- * 鍚◣鍗曚环
- */
- private BigDecimal taxInclusivePrice;
- /**
- * 鍚◣鎬讳环
- */
- private BigDecimal taxInclusiveTotal;
-
- /**
- * 绋庣巼
- */
- private BigDecimal taxRate;
-
- /**
- * 涓嶅惈绋庢�讳环
- */
- private BigDecimal taxExclusiveTotal;
/**
* 鍏ュ簱浜�
*/
- private String inboundPerson;
+ private Long userId;
+ private Long productrecordId;
+// tenant_id
+ /**
+ * 绉熸埛ID
+ */
+ @ApiModelProperty(value = "绉熸埛ID")
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
+
private static final long serialVersionUID = 1L;
- private List<StockProduct> stockProducts;
+// private List<StockProduct> stockProducts;
+
}
\ No newline at end of file
--
Gitblit v1.9.3