|
|
@@ -0,0 +1,172 @@
|
|
|
+package com.uas.platform.b2b.erp.model;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+import com.uas.platform.b2b.model.PurchaseOrderAllItem;
|
|
|
+
|
|
|
+public class SaleDownDetail {
|
|
|
+
|
|
|
+ private String sd_code;
|
|
|
+ private int sd_detno;
|
|
|
+ private String sd_custprodcode;
|
|
|
+ private String sd_custproddetail;
|
|
|
+ private String sd_custprodspec;
|
|
|
+ private String sd_custprodunit;
|
|
|
+ private Double sd_replyqty;
|
|
|
+ private Date sd_replydate;
|
|
|
+ private String sd_replydetail;
|
|
|
+ private Double sd_customprice;
|
|
|
+ private Double sd_price;
|
|
|
+ private Double sd_qty;
|
|
|
+ private Double sd_total;
|
|
|
+ private Float sd_taxrate;
|
|
|
+ private Double sd_taxtotal;
|
|
|
+
|
|
|
+ public String getSd_code() {
|
|
|
+ return sd_code;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_code(String sd_code) {
|
|
|
+ this.sd_code = sd_code;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getSd_detno() {
|
|
|
+ return sd_detno;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_detno(int sd_detno) {
|
|
|
+ this.sd_detno = sd_detno;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_custprodcode() {
|
|
|
+ return sd_custprodcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_custprodcode(String sd_custprodcode) {
|
|
|
+ this.sd_custprodcode = sd_custprodcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_custproddetail() {
|
|
|
+ return sd_custproddetail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_custproddetail(String sd_custproddetail) {
|
|
|
+ this.sd_custproddetail = sd_custproddetail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_custprodspec() {
|
|
|
+ return sd_custprodspec;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_custprodspec(String sd_custprodspec) {
|
|
|
+ this.sd_custprodspec = sd_custprodspec;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_custprodunit() {
|
|
|
+ return sd_custprodunit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_custprodunit(String sd_custprodunit) {
|
|
|
+ this.sd_custprodunit = sd_custprodunit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_replyqty() {
|
|
|
+ return sd_replyqty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_replyqty(Double sd_replyqty) {
|
|
|
+ this.sd_replyqty = sd_replyqty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getSd_replydate() {
|
|
|
+ return sd_replydate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_replydate(Date sd_replydate) {
|
|
|
+ this.sd_replydate = sd_replydate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSd_replydetail() {
|
|
|
+ return sd_replydetail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_replydetail(String sd_replydetail) {
|
|
|
+ this.sd_replydetail = sd_replydetail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_customprice() {
|
|
|
+ return sd_customprice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_customprice(Double sd_customprice) {
|
|
|
+ this.sd_customprice = sd_customprice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_price() {
|
|
|
+ return sd_price;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_price(Double sd_price) {
|
|
|
+ this.sd_price = sd_price;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_qty() {
|
|
|
+ return sd_qty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_qty(Double sd_qty) {
|
|
|
+ this.sd_qty = sd_qty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_total() {
|
|
|
+ return sd_total;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_total(Double sd_total) {
|
|
|
+ this.sd_total = sd_total;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Float getSd_taxrate() {
|
|
|
+ return sd_taxrate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_taxrate(Float sd_taxrate) {
|
|
|
+ this.sd_taxrate = sd_taxrate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getSd_taxtotal() {
|
|
|
+ return sd_taxtotal;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSd_taxtotal(Double sd_taxtotal) {
|
|
|
+ this.sd_taxtotal = sd_taxtotal;
|
|
|
+ }
|
|
|
+
|
|
|
+ public SaleDownDetail() {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 从平台的采购订单明细,转到卖家ERP的订单下达明细
|
|
|
+ *
|
|
|
+ * @param orderItem
|
|
|
+ */
|
|
|
+ public SaleDownDetail(PurchaseOrderAllItem orderItem) {
|
|
|
+ this.sd_code = orderItem.getOrder().getCode();
|
|
|
+ this.sd_customprice = orderItem.getPrice();
|
|
|
+ this.sd_custprodcode = orderItem.getProduct().getCode();
|
|
|
+ this.sd_custproddetail = orderItem.getProduct().getTitle();
|
|
|
+ this.sd_custprodspec = orderItem.getProduct().getSpec();
|
|
|
+ this.sd_custprodunit = orderItem.getProduct().getUnit();
|
|
|
+ this.sd_detno = orderItem.getNumber();
|
|
|
+ this.sd_price = orderItem.getPrice();
|
|
|
+ this.sd_qty = orderItem.getQty();
|
|
|
+ this.sd_replydate = orderItem.getReplyDelivery();
|
|
|
+ this.sd_replydetail = orderItem.getReplyRemark();
|
|
|
+ this.sd_replyqty = orderItem.getReplyQty();
|
|
|
+ this.sd_taxrate = orderItem.getTaxrate();
|
|
|
+ this.sd_total = orderItem.getAmount();
|
|
|
+ this.sd_taxtotal = orderItem.getNoTaxAmount();
|
|
|
+ }
|
|
|
+
|
|
|
+}
|