Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsStockLogBo.java
JR 528019be52 feat(wms): 添加库存流水模块
- 新增库存流水相关实体类、Mapper、Service、Controller- 实现库存流水的增删查改功能
- 添加库存流水的导出功能
- 优化库存流水的查询接口,支持分页和条件筛选
2025-08-11 11:51:59 +08:00

70 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.bo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
/**
* 库存流水业务对象 wms_stock_log
*
* @author JR
* @date 2025-08-11
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsStockLogBo extends BaseEntity {
/**
* 主键ID
*/
private Long id;
/**
* 仓库/库区/库位ID
*/
private Long warehouseId;
/**
* 物品ID指向原材料或产品主键
*/
private Long itemId;
/**
* 物品类型raw_material/product
*/
private String itemType;
/**
* 变动数量(正=入库,负=出库)
*/
private BigDecimal changeQty;
/**
* 变动后的库存数量
*/
private BigDecimal afterQty;
/**
* 变动类型(入库/出库等)
*/
private String changeType;
/**
* 实际库存变动时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date changeTime;
/**
* 备注
*/
private String remark;
}