| | |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | @Data |
| | | public class OrderSyncParam { |
| | |
| | | private String 操作单据; |
| | | private String 操作类型; |
| | | |
| | | |
| | | //入出库标记 |
| | | private Integer pakin; |
| | | |
| | | //采购订单编号 |
| | | //单据类型 |
| | | private String orderType; |
| | | private String Upstreamcode; |
| | | //订单编号 |
| | | private String cPOID; |
| | | //供应商编码 |
| | | private String cVenCode; |
| | |
| | | private Integer states; |
| | | //单据日期 |
| | | private String ddate; |
| | | //件数 |
| | | private Double iNum; |
| | | |
| | | //换算率 |
| | | private Double iinvexchrate; |
| | | |
| | | private List<OrderDetl> children; |
| | | |
| | | public void setcPOID(String cPOID) { |
| | | this.cPOID = cPOID; |
| | | } |
| | | |
| | | public void setcVenCode(String cVenCode) { |
| | | this.cVenCode = cVenCode; |
| | | } |
| | | |
| | | public void setcPersonCode(String cPersonCode) { |
| | | this.cPersonCode = cPersonCode; |
| | | } |
| | | |
| | | public void setcSCCode(String cSCCode) { |
| | | this.cSCCode = cSCCode; |
| | | } |
| | | |
| | | public void setCexch_name(String cexch_name) { |
| | | this.cexch_name = cexch_name; |
| | | } |
| | | |
| | | public void setNflat(Double nflat) { |
| | | this.nflat = nflat; |
| | | } |
| | | |
| | | public void setcMemo(String cMemo) { |
| | | this.cMemo = cMemo; |
| | | } |
| | | |
| | | public void setStates(Integer states) { |
| | | this.states = states; |
| | | } |
| | | |
| | | public void setDdate(String ddate) { |
| | | this.ddate = ddate; |
| | | } |
| | | |
| | | public void setChildren(List<OrderDetl> children) { |
| | | this.children = children; |
| | | } |
| | | |
| | | public void set操作系统号(String 操作系统号) { |
| | | this.操作系统号 = 操作系统号; |
| | | } |
| | | |
| | | public void set操作单据(String 操作单据) { |
| | | this.操作单据 = 操作单据; |
| | | } |
| | | |
| | | public void set操作类型(String 操作类型) { |
| | | this.操作类型 = 操作类型; |
| | | } |
| | | |
| | | @Data |
| | | public static class OrderDetl{ |
| | | //采购订单行号 |
| | | public static class OrderDetl { |
| | | //订单行号 |
| | | private String ivouchrowno; |
| | | //物料编码 |
| | | private String cInvCode; |
| | | //批号 |
| | | private String batch; |
| | | //需求时间 |
| | | private String dArriveDate; |
| | | //需求数量 |
| | |
| | | private String cbMemo; |
| | | //件数 |
| | | private Double iNum; |
| | | |
| | | //换算率 |
| | | private Double iinvexchrate; |
| | | //单据来源 |
| | | private String cSource; |
| | | //生产订单号(销售订单号) |
| | |
| | | //销售订单子表标识 |
| | | private String iorderdid; |
| | | |
| | | private String iPOsID; |
| | | |
| | | public void setIvouchrowno(String ivouchrowno) { |
| | | this.ivouchrowno = ivouchrowno; |
| | | @Override |
| | | public boolean equals(Object object) { |
| | | if (this == object) return true; |
| | | if (object == null || getClass() != object.getClass()) return false; |
| | | OrderDetl orderDetl = (OrderDetl) object; |
| | | return Objects.equals(cInvCode, orderDetl.cInvCode) && Objects.equals(batch, orderDetl.batch) && Objects.equals(bFree1, orderDetl.bFree1) && Objects.equals(cDefine22, orderDetl.cDefine22); |
| | | } |
| | | |
| | | public void setcInvCode(String cInvCode) { |
| | | this.cInvCode = cInvCode; |
| | | @Override |
| | | public int hashCode() { |
| | | return Objects.hash(ivouchrowno, cInvCode, batch, dArriveDate, iQuantity, iTaxPrice, iPerTaxRate, cbMemo, iNum, cSource, cDefine22, Rstates, csocode, bFree1, id, iorderdid); |
| | | } |
| | | |
| | | public void setdArriveDate(String dArriveDate) { |
| | | this.dArriveDate = dArriveDate; |
| | | } |
| | | |
| | | public void setiQuantity(Double iQuantity) { |
| | | this.iQuantity = iQuantity; |
| | | } |
| | | |
| | | public void setiTaxPrice(Double iTaxPrice) { |
| | | this.iTaxPrice = iTaxPrice; |
| | | } |
| | | |
| | | public void setiPerTaxRate(Double iPerTaxRate) { |
| | | this.iPerTaxRate = iPerTaxRate; |
| | | } |
| | | |
| | | public void setCbMemo(String cbMemo) { |
| | | this.cbMemo = cbMemo; |
| | | } |
| | | |
| | | public void setiNum(Double iNum) { |
| | | this.iNum = iNum; |
| | | } |
| | | |
| | | public void setcSource(String cSource) { |
| | | this.cSource = cSource; |
| | | } |
| | | |
| | | public void setcDefine22(String cDefine22) { |
| | | this.cDefine22 = cDefine22; |
| | | } |
| | | |
| | | public void setRstates(String rstates) { |
| | | Rstates = rstates; |
| | | } |
| | | |
| | | public void setCsocode(String csocode) { |
| | | this.csocode = csocode; |
| | | } |
| | | |
| | | public void setbFree1(String bFree1) { |
| | | this.bFree1 = bFree1; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public void setIorderdid(String iorderdid) { |
| | | this.iorderdid = iorderdid; |
| | | } |
| | | |
| | | } |
| | | |