自动化立体仓库 - WMS系统
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.core.common.Cools;
import com.zy.common.utils.Synchro;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -35,6 +36,58 @@
    @ApiModelProperty(value= "批号")
    private String batch;
    /**
     * 该字段是组托入库自动出发补空托盘标记
     * item_num
     * 0:不需要补空托盘
     * 1:小托盘
     * 2:大托盘
     * 10:小托盘AGV任务下发成功
     * 20:大托盘AGV任务下发成功
     * 100:小托盘放货完成
     * 200:大托盘放货完成
     */
    @ApiModelProperty(value= "大小托盘")
    @TableField("item_num")
    private String itemNum;
    /**
     * agv状态
     * be_batch
     * 0:无需调用AGV
     * 1:等待调用AGV
     * 2:AGV任务下发成功
     * 3:AGV任务完成
     * 4:给输送线下发入库指令完成
     */
    @ApiModelProperty(value= "agv状态")
    @TableField("be_batch")
    private Integer beBatch = 0;
    /**
     * 目标站
     */
    @ApiModelProperty(value= "目标站")
    private String sku;
    /**
     * 生产入库对一坨物料进行绑定。唯一值
     */
    @ApiModelProperty(value= "生产入库对一坨物料进行绑定。唯一值")
    private String origin;
    @ApiModelProperty(value= "发给AGV的任务号")
    private String supp;
    @ApiModelProperty(value= "仓库")
    private String brand;
    @ApiModelProperty(value= "唯一码")
    @TableField("supp_code")
    private String suppCode;
    @ApiModelProperty(value= "单据编号")
    @TableField("order_no")
    private String orderNo;
@@ -48,17 +101,11 @@
    @ApiModelProperty(value= "颜色")
    private String color;
    @ApiModelProperty(value= "品牌")
    private String brand;
    @ApiModelProperty(value= "单位")
    private String unit;
    @ApiModelProperty(value= "单价")
    private Double price;
    @ApiModelProperty(value= "sku")
    private String sku;
    @ApiModelProperty(value= "单位量")
    private Double units;
@@ -66,19 +113,12 @@
    @ApiModelProperty(value= "条码")
    private String barcode;
    @ApiModelProperty(value= "产地")
    private String origin;
    @ApiModelProperty(value= "厂家")
    private String manu;
    @ApiModelProperty(value= "生产日期")
    @TableField("manu_date")
    private String manuDate;
    @ApiModelProperty(value= "品项数")
    @TableField("item_num")
    private String itemNum;
    @ApiModelProperty(value= "安全库存量")
    @TableField("safe_qty")
@@ -97,17 +137,6 @@
    @TableField("three_code")
    private String threeCode;
    @ApiModelProperty(value= "供应商")
    private String supp;
    @ApiModelProperty(value= "供应商编码")
    @TableField("supp_code")
    private String suppCode;
    @ApiModelProperty(value= "是否批次 1: 是  0: 否  ")
    @TableField("be_batch")
    private Integer beBatch;
    @ApiModelProperty(value= "保质期")
    @TableField("dead_time")
    private String deadTime;
@@ -120,7 +149,7 @@
    private Integer source;
    @ApiModelProperty(value= "要求检验 1: 是  0: 否  ")
    private Integer check;
    private Integer inspect;
    @ApiModelProperty(value= "危险品 1: 是  0: 否  ")
    private Integer danger;
@@ -177,15 +206,15 @@
        }
    }
    public String getCheck$(){
        if (null == this.check){ return null; }
        switch (this.check){
    public String getInspect$(){
        if (null == this.inspect){ return null; }
        switch (this.inspect){
            case 1:
                return "是";
            case 0:
                return "否";
            default:
                return String.valueOf(this.check);
                return String.valueOf(this.inspect);
        }
    }
@@ -215,4 +244,7 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}