package com.zy.asrs.entity.param; import lombok.Data; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; /** * 海诺尔U8出库单同步参数 */ @Data public class OpenOrderPakoutParam { //入库单号 private String cCode; //单据日期 private Date dDate; //类型 private String type; //制单人 private String cMaker; //公司 private String cAccount; //调拨 private String allocation; //备注 private String cMemo; private List aDDBody; //private List orderDetails; public void setcCode(String cCode) { this.cCode = cCode; } public void setdDate(String dDate) throws ParseException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-DD hh:mm:ss"); this.dDate = sdf.parse(dDate); } public void setdDate$(Date dDate) { this.dDate = dDate; } public void setcMaker(String cMaker) { this.cMaker = cMaker; } public void setcAccount(String cAccount) { this.cAccount = cAccount; } public void setType(String type) { this.type = type; } public void setcMemo(String cMemo) { this.cMemo = cMemo; } public void setaDDBody(List aDDBody) { this.aDDBody = aDDBody; } public void setAllocation(String allocation) { this.allocation = allocation; } @Data public static class Body{ //存货编码 private String cInvCode; //数量 private Double iQuantity; //批号 private String cBatch; //行备注 private String cbMemo; public void setcInvCode(String cInvCode) { this.cInvCode = cInvCode; } public void setiQuantity(Double iQuantity) { this.iQuantity = iQuantity; } public void setcBatch(String cBatch) { this.cBatch = cBatch; } public void setCbMemo(String cbMemo) { this.cbMemo = cbMemo; } } }