自动化立体仓库 - WMS系统
whycq
2024-05-29 f78cdcd32b1b872efce68e6a45aba7181df1f9fb
src/main/java/com/zy/asrs/entity/param/MatSyncParam.java
@@ -2,8 +2,6 @@
import lombok.Data;
import java.util.List;
/**
 * 商品同步接口,参数
 * Created on 2022/6/22
@@ -11,54 +9,84 @@
@Data
public class MatSyncParam {
    public List<Mats> mats;
    //存货编码
    String cInvCode;
    //存货名称
    String cInvName;
    //单位组类型编码/名称
    String iGroupType;
    //存货大类编码
    String cInvCCode;
    //规格型号
    String cInvStd;
    //是否批次管理
    String bInvBatch;
    //主计量单位编码/名称
    String cComUnitCode;
    //采购单位编码/采购单位名称
    String cComUnitName;
    //采购单位编码
    String PuCote;
    //生产计量单位名称
    String proname;
    //生产计量单位编码
    String procode;
    //自由项1(规格)
    String bFree1;
    //状态
    Integer states;
    @Data
    public static class Mats{
        /**
         * 接收成功:true
         * 接收失败:false
         */
        private boolean type=true;
        /**
         * 商品编号
         */
        private String matnr;
        /**
         * 商品名称
         */
        private String maktx;
        /**
         * 规格
         */
        private String specs;
        /**
         * 型号
         */
        private String model;
        /**
         * 颜色
         */
        private  String color;
        /**
         * 单位
         */
        private String unit;
        /**
         * 单位量
         */
        private Double units;
        /**
         * 备注
         */
        private String memo;
    public void setcInvCode(String cInvCode) {
        this.cInvCode = cInvCode;
    }
    public void setcInvName(String cInvName) {
        this.cInvName = cInvName;
    }
    public void setiGroupType(String iGroupType) {
        this.iGroupType = iGroupType;
    }
    public void setcInvCCode(String cInvCCode) {
        this.cInvCCode = cInvCCode;
    }
    public void setcInvStd(String cInvStd) {
        this.cInvStd = cInvStd;
    }
    public void setbInvBatch(String bInvBatch) {
        this.bInvBatch = bInvBatch;
    }
    public void setcComUnitCode(String cComUnitCode) {
        this.cComUnitCode = cComUnitCode;
    }
    public void setcComUnitName(String cComUnitName) {
        this.cComUnitName = cComUnitName;
    }
    public void setPuCote(String puCote) {
        PuCote = puCote;
    }
    public void setProname(String proname) {
        this.proname = proname;
    }
    public void setProcode(String procode) {
        this.procode = procode;
    }
    public void setbFree1(String bFree1) {
        this.bFree1 = bFree1;
    }
    public void setStates(Integer states) {
        this.states = states == 0 ? 1 : 0;
    }
}