|
@@ -0,0 +1,58 @@
|
|
|
|
+package com.yh.saas.plugin.yiliangyiyun.entity;
|
|
|
|
+
|
|
|
|
+import java.io.Serializable;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
|
+import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
|
+import com.yh.saas.common.support.entity.BaseModel;
|
|
|
|
+import lombok.Data;
|
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
|
+import lombok.experimental.Accessors;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * <p>
|
|
|
|
+ * 记录历史库存信息
|
|
|
|
+ * </p>
|
|
|
|
+ *
|
|
|
|
+ * @author Gdc
|
|
|
|
+ * @since 2022-09-13
|
|
|
|
+ */
|
|
|
|
+@Data
|
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
|
+@Accessors(chain = true)
|
|
|
|
+@TableName("historical_inventory_info")
|
|
|
|
+public class HistoricalInventoryInfo extends BaseModel<HistoricalInventoryInfo> {
|
|
|
|
+
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 主键id
|
|
|
|
+ */
|
|
|
|
+ @TableId(type = IdType.UUID)
|
|
|
|
+ private String id;
|
|
|
|
+ /**
|
|
|
|
+ * 仓库id
|
|
|
|
+ */
|
|
|
|
+ private String baseId;
|
|
|
|
+ /**
|
|
|
|
+ * 仓库名称
|
|
|
|
+ */
|
|
|
|
+ private String warehouseName;
|
|
|
|
+ /**
|
|
|
|
+ * 仓位编号id
|
|
|
|
+ */
|
|
|
|
+ private String positionId;
|
|
|
|
+ /**
|
|
|
|
+ * 累计储存量(吨)
|
|
|
|
+ */
|
|
|
|
+ private Double accumulatedStorage;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ protected Serializable pkVal() {
|
|
|
|
+ return this.id;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|