|
|
@@ -0,0 +1,28 @@
|
|
|
+package com.etotem.cfc.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+@TableName("inventory_transactions")
|
|
|
+public class InventoryTransaction implements Serializable {
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+ private Long productId;
|
|
|
+ private Long skuId;
|
|
|
+ private String type;
|
|
|
+ private Integer direction;
|
|
|
+ private Integer quantity;
|
|
|
+ private Integer beforeStock;
|
|
|
+ private Integer afterStock;
|
|
|
+ private String referenceType;
|
|
|
+ private Long referenceId;
|
|
|
+ private Long operatorId;
|
|
|
+ private String remark;
|
|
|
+ private Date createdAt;
|
|
|
+}
|