2025-07-18 10:12:48 +08:00
|
|
|
|
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_io_detail
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author Joshi
|
|
|
|
|
|
* @date 2025-07-18
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
|
@TableName("wms_stock_io_detail")
|
|
|
|
|
|
public class WmsStockIoDetail extends BaseEntity {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID=1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 明细ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@TableId(value = "detail_id")
|
|
|
|
|
|
private Long detailId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 出入库单ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Long stockIoId;
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 库区/库位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;
|
2025-07-18 11:30:09 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 源库位ID(移库时使用)
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Long fromWarehouseId;
|
2025-07-23 16:04:23 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 记录类型,0:详情,1:扫码枪记录
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Integer recordType;
|
2025-07-18 10:12:48 +08:00
|
|
|
|
|
|
|
|
|
|
}
|