|
|
@@ -0,0 +1,172 @@
|
|
|
+package org.springblade.factory.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.Data;
|
|
|
+import org.springblade.core.mp.base.BaseEntity;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 库存表实体类
|
|
|
+ *
|
|
|
+ * @author generator
|
|
|
+ * @since 2025-09-05
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("pjpf_stock_desc")
|
|
|
+public class PjpfStockDesc extends BaseEntity {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /** 主键 */
|
|
|
+ @TableId(type = IdType.INPUT)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /** 租户 */
|
|
|
+ @TableField("tenant_id")
|
|
|
+ private String tenantId;
|
|
|
+
|
|
|
+// /** 创建人 */
|
|
|
+// @TableField("create_user")
|
|
|
+// private Long createUser;
|
|
|
+//
|
|
|
+// /** 创建部门 */
|
|
|
+// @TableField("create_dept")
|
|
|
+// private Long createDept;
|
|
|
+//
|
|
|
+// /** 创建时间 */
|
|
|
+// @TableField("create_time")
|
|
|
+// private LocalDateTime createTime;
|
|
|
+//
|
|
|
+// /** 修改人 */
|
|
|
+// @TableField("update_user")
|
|
|
+// private Long updateUser;
|
|
|
+//
|
|
|
+// /** 修改时间 */
|
|
|
+// @TableField("update_time")
|
|
|
+// private LocalDateTime updateTime;
|
|
|
+//
|
|
|
+// /** 是否已删除(0 否 1是) */
|
|
|
+// @TableField("is_deleted")
|
|
|
+// private Integer isDeleted;
|
|
|
+//
|
|
|
+// /** 备注 */
|
|
|
+// @TableField("remarks")
|
|
|
+// private String remarks;
|
|
|
+//
|
|
|
+// /** 订单状态 */
|
|
|
+// @TableField("status")
|
|
|
+// private String status;
|
|
|
+
|
|
|
+ /** 仓库/库区id */
|
|
|
+ @TableField("storage_id")
|
|
|
+ private Long storageId;
|
|
|
+
|
|
|
+ /** 仓库/库区名称 */
|
|
|
+ @TableField("storage_name")
|
|
|
+ private String storageName;
|
|
|
+
|
|
|
+ /** 商品id */
|
|
|
+ @TableField("goods_id")
|
|
|
+ private Long goodsId;
|
|
|
+
|
|
|
+ /** 物料编号 */
|
|
|
+ @TableField("code")
|
|
|
+ private String code;
|
|
|
+
|
|
|
+ /** 商品名称 */
|
|
|
+ @TableField("cname")
|
|
|
+ private String cname;
|
|
|
+
|
|
|
+ /** 品牌id */
|
|
|
+ @TableField("brand_id")
|
|
|
+ private Long brandId;
|
|
|
+
|
|
|
+ /** 品牌名称 */
|
|
|
+ @TableField("brand_name")
|
|
|
+ private String brandName;
|
|
|
+
|
|
|
+ /** 规格型号 */
|
|
|
+ @TableField("type_no")
|
|
|
+ private String typeNo;
|
|
|
+
|
|
|
+ /** 花纹 */
|
|
|
+ @TableField("brand_item")
|
|
|
+ private String brandItem;
|
|
|
+
|
|
|
+ /** 商品描述 */
|
|
|
+ @TableField("product_description")
|
|
|
+ private String productDescription;
|
|
|
+
|
|
|
+ /** 分类id */
|
|
|
+ @TableField("goods_type_id")
|
|
|
+ private String goodsTypeId;
|
|
|
+
|
|
|
+ /** 结余数量(总) */
|
|
|
+ @TableField("balance_quantity")
|
|
|
+ private BigDecimal balanceQuantity;
|
|
|
+
|
|
|
+ /** 结余数量(融资) */
|
|
|
+ @TableField("balance_quantity_financing")
|
|
|
+ private BigDecimal balanceQuantityFinancing;
|
|
|
+
|
|
|
+ /** 结余数量(自有) */
|
|
|
+ @TableField("balance_quantity_have")
|
|
|
+ private BigDecimal balanceQuantityHave;
|
|
|
+
|
|
|
+ /** 所属公司id */
|
|
|
+ @TableField("sales_company_id")
|
|
|
+ private Long salesCompanyId;
|
|
|
+
|
|
|
+ /** 所属公司名称 */
|
|
|
+ @TableField("sales_company_name")
|
|
|
+ private String salesCompanyName;
|
|
|
+
|
|
|
+ /** 批次号 */
|
|
|
+ @TableField("dot")
|
|
|
+ private String dot;
|
|
|
+
|
|
|
+ /** 商城库存 */
|
|
|
+ @TableField("store_inventory")
|
|
|
+ private BigDecimal storeInventory;
|
|
|
+
|
|
|
+ /** 库存金额 */
|
|
|
+ @TableField("inventory_amount")
|
|
|
+ private BigDecimal inventoryAmount;
|
|
|
+
|
|
|
+ /** 库存成本价 */
|
|
|
+ @TableField("inventory_cost_price")
|
|
|
+ private BigDecimal inventoryCostPrice;
|
|
|
+
|
|
|
+ /** 库存预警 */
|
|
|
+ @TableField("inventory_alert")
|
|
|
+ private Integer inventoryAlert;
|
|
|
+
|
|
|
+ /** 分类 */
|
|
|
+ @TableField("goods_type_name")
|
|
|
+ private String goodsTypeName;
|
|
|
+
|
|
|
+ /** 版本 */
|
|
|
+ @TableField("version")
|
|
|
+ private Integer version;
|
|
|
+
|
|
|
+ /** 采购订单号 */
|
|
|
+ @TableField("po_no")
|
|
|
+ private String poNo;
|
|
|
+
|
|
|
+ /** 快捷查询号 */
|
|
|
+ @TableField("cname_int")
|
|
|
+ private String cnameInt;
|
|
|
+
|
|
|
+ /** 返利后单价 */
|
|
|
+ @TableField("rebate_price")
|
|
|
+ private BigDecimal rebatePrice;
|
|
|
+
|
|
|
+ /** 返利后单价库存金额 */
|
|
|
+ @TableField("rebate_inventory_amount")
|
|
|
+ private BigDecimal rebateInventoryAmount;
|
|
|
+}
|