自动化立体仓库 - WMS系统
zwl
1 天以前 3b0cab2402876426acbc0814394ff940fd2ce83d
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -1,8 +1,10 @@
package com.zy.asrs.entity;
import com.alibaba.excel.annotation.ExcelProperty;
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;
@@ -39,6 +41,56 @@
    @TableField("order_no")
    private String orderNo;
    /**
     * 集装箱号
     */
    @ApiModelProperty(value= "集装箱号")
    @ExcelProperty("集装箱号")
    @TableField("container_no")
    private String containerNo;
    /**
     * TEU
     */
    @ApiModelProperty(value= "TEU")
    @ExcelProperty("TEU")
    @TableField("teu")
    private Integer teu;
    /**
     * 车牌号
     */
    @ApiModelProperty(value= "车牌号")
    @ExcelProperty("车牌号")
    @TableField("plate_no")
    private String plateNo;
    /**
     * 车次号
     */
    @ApiModelProperty(value= "车次号")
    @ExcelProperty("车次号")
    @TableField("train_no")
    private String trainNo;
    @ApiModelProperty(value= "建议入库区域:堆垛机号")
    private String origin;
    @ApiModelProperty(value= "货物频次:1=高频,2=低频")
    @TableField("freq_type")
    private Integer freqType;
    /**
     * 立方数
     */
    @ApiModelProperty(value= "立方数,单位:立方米")
    @ExcelProperty("立方数")
    @TableField("cube_number")
    private Double cubeNumber;
    @ApiModelProperty(value= "库位编码,若有,则存储到指定库位。为后续分区预留")
    private String manu;
    @ApiModelProperty(value= "规格")
    private String specs;
@@ -49,7 +101,7 @@
    private String color;
    @ApiModelProperty(value= "品牌")
    private String brand;
    private String brand = "";
    @ApiModelProperty(value= "单位")
    private String unit;
@@ -65,12 +117,6 @@
    @ApiModelProperty(value= "条码")
    private String barcode;
    @ApiModelProperty(value= "产地")
    private String origin;
    @ApiModelProperty(value= "厂家")
    private String manu;
    @ApiModelProperty(value= "生产日期")
    @TableField("manu_date")
@@ -88,7 +134,7 @@
    private Double weight;
    @ApiModelProperty(value= "长度")
    private Double length;
    private Double man_length;
    @ApiModelProperty(value= "体积")
    private Double volume;
@@ -120,7 +166,7 @@
    private Integer source;
    @ApiModelProperty(value= "要求检验 1: 是  0: 否  ")
    private Integer check;
    private Integer inspect;
    @ApiModelProperty(value= "危险品 1: 是  0: 否  ")
    private Integer danger;
@@ -151,6 +197,45 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    /**
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    private String standby1 = "1";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    private String standby2 = "1";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    private String standby3 = "1";
    /**
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    @TableField("box_type1")
    private String boxType1 = "1";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    @TableField("box_type2")
    private String boxType2 = "1";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    @TableField("box_type3")
    private String boxType3 = "1";
    public String getBeBatch$(){
        if (null == this.beBatch){ return null; }
        switch (this.beBatch){
@@ -177,15 +262,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 +300,7 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}