package com.ruoyi.production.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 线边仓出入库记录
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-04-21 03:55:52
|
*/
|
@Data
|
@TableName("production_order_pick_record")
|
@Schema(name = "ProductionOrderPickRecord对象", description = "线边仓出入库记录")
|
public class ProductionOrderPickRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Schema(description = "主键id")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
@Schema(description = "关联领料单id(production_order_pick.id)")
|
private Long pickId;
|
|
@Schema(description = "生产订单id")
|
private Long productionOrderId;
|
|
@Schema(description = "生产工单id")
|
private Long productionOperationTaskId;
|
|
@Schema(description = "产品规格id")
|
private Long productModelId;
|
|
@Schema(description = "批号")
|
private String batchNo;
|
|
@Schema(description = "领料数量")
|
private BigDecimal pickQuantity;
|
|
@Schema(description = "领料前数量")
|
private BigDecimal beforeQuantity;
|
|
@Schema(description = "领料后剩余数量")
|
private BigDecimal afterQuantity;
|
|
@Schema(description = "领料类型:1正常领料 2补料")
|
private Byte pickType;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "补料原因")
|
private String feedingReason;
|
|
@Schema(description = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@Schema(description = "更新时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@Schema(description = "创建人ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long createUser;
|
|
@Schema(description = "部门ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
}
|