/*
|
* Copyright (c) 2018-2025, ztt All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: ztt
|
*/
|
|
package com.chinaztt.mes.warehouse.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import java.math.BigDecimal;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* 包装从表
|
*
|
* @author sunxl
|
* @date 2021-06-03 15:19:30
|
*/
|
@Data
|
@TableName("warehouse_packaging_item")
|
@EqualsAndHashCode(callSuper = true)
|
@ApiModel(value = "包装从表")
|
public class PackagingItem extends Model<PackagingItem> {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId
|
@ApiModelProperty(value="id",notes = "包装明细行id")
|
private Long id;
|
/**
|
* 零件id
|
*/
|
@ApiModelProperty(value="零件id",notes = "零件id")
|
private Long partId;
|
/**
|
* 实时库存id
|
*/
|
@ApiModelProperty(value="实时库存id",notes = "实时库存id")
|
private Long stockId;
|
/**
|
* 包装主表id
|
*/
|
@ApiModelProperty(value="包装主表id",notes = "包装主表id")
|
private Long packagingId;
|
/**
|
* 批次号
|
*/
|
@ApiModelProperty(value="批次号",notes = "批次号")
|
private String outBatchNo;
|
/**
|
* 系统号
|
*/
|
@ApiModelProperty(value="系统号",notes = "系统号")
|
private String systemNo;
|
/**
|
* 包装数量
|
*/
|
@ApiModelProperty(value="包装数量",notes = "包装数量")
|
private BigDecimal packageQty;
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty(value="创建时间",notes = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
/**
|
* 规格
|
*/
|
@ApiModelProperty(value="规格",notes = "规格")
|
private String specs;
|
|
/**
|
* 库位id
|
*/
|
@ApiModelProperty(value="库位id",notes = "库位id")
|
private Long locationId;
|
/**
|
* 载具编号
|
*/
|
@ApiModelProperty(value="载具编号",notes = "载具编号")
|
private String reelNumber;
|
/**
|
* 移入库位id
|
*/
|
@ApiModelProperty(value="移入库位id",notes = "移入库位id")
|
private Long inLocationId;
|
|
/**
|
* 理论计算重量
|
*/
|
@ApiModelProperty(value="理论计算重量",notes = "理论计算重量")
|
private BigDecimal theoryWeight;
|
|
@ApiModelProperty(value="ifs批次号",notes = "ifs批次号")
|
private String ifsBatchNo;
|
|
|
}
|