Files
klp-oa/klp-wms/src/main/java/com/klp/domain/WmsStock.java
2025-07-18 10:12:48 +08:00

63 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* 库存:原材料/产品与库区/库位的存放关系对象 wms_stock
*
* @author Joshi
* @date 2025-07-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_stock")
public class WmsStock extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 主键ID
*/
@TableId(value = "stock_id")
private Long stockId;
/**
* 仓库/库区/库位ID
*/
private Long warehouseId;
/**
* 物品类型raw_material/product
*/
private String itemType;
/**
* 物品ID指向原材料或产品主键
*/
private Long itemId;
/**
* 库存数量
*/
private BigDecimal quantity;
/**
* 单位
*/
private String unit;
/**
* 批次号(可选)
*/
private String batchNo;
/**
* 备注
*/
private String remark;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
}