|
|
@@ -6,6 +6,7 @@ import com.uas.platform.b2b.model.PurchaseOrderAllItem;
|
|
|
|
|
|
public class SaleDownDetail {
|
|
|
|
|
|
+ private long b2b_pd_id;
|
|
|
private String sd_code;
|
|
|
private int sd_detno;
|
|
|
private String sd_custprodcode;
|
|
|
@@ -23,6 +24,14 @@ public class SaleDownDetail {
|
|
|
private Float sd_taxrate;
|
|
|
private Double sd_taxtotal;
|
|
|
|
|
|
+ public long getB2b_pd_id() {
|
|
|
+ return b2b_pd_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setB2b_pd_id(long b2b_pd_id) {
|
|
|
+ this.b2b_pd_id = b2b_pd_id;
|
|
|
+ }
|
|
|
+
|
|
|
public String getSd_code() {
|
|
|
return sd_code;
|
|
|
}
|
|
|
@@ -161,6 +170,7 @@ public class SaleDownDetail {
|
|
|
* @param orderItem
|
|
|
*/
|
|
|
public SaleDownDetail(PurchaseOrderAllItem orderItem) {
|
|
|
+ this.b2b_pd_id = orderItem.getId();
|
|
|
this.sd_code = orderItem.getOrder().getCode();
|
|
|
this.sd_customprice = orderItem.getPrice();
|
|
|
this.sd_custprodcode = orderItem.getProduct().getCode();
|