Browse Source

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@369 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d

administrator 11 years ago
parent
commit
fbc5b1721a
1 changed files with 14 additions and 0 deletions
  1. 14 0
      src/main/java/com/uas/platform/b2b/mobile/model/PurchaseChange.java

+ 14 - 0
src/main/java/com/uas/platform/b2b/mobile/model/PurchaseChange.java

@@ -19,6 +19,11 @@ import com.uas.platform.core.util.NumberUtil;
  */
 public class PurchaseChange {
 
+	/**
+	 * ID
+	 */
+	private long pc_id;
+
 	/**
 	 * 流水号
 	 */
@@ -164,6 +169,14 @@ public class PurchaseChange {
 		this.pc_agreed = pc_agreed;
 	}
 
+	public long getPc_id() {
+		return pc_id;
+	}
+
+	public void setPc_id(long pc_id) {
+		this.pc_id = pc_id;
+	}
+
 	public PurchaseChange() {
 	}
 
@@ -175,6 +188,7 @@ public class PurchaseChange {
 	public PurchaseChange(PurchaseOrderChange orderChange) {
 		if (orderChange.getAgreed() != null && orderChange.getAgreed() == Constant.YES)
 			this.pc_agreed = Status.AGREED.getPhrase();
+		this.pc_id = orderChange.getId();
 		this.pc_code = orderChange.getCode();
 		this.pc_currency = orderChange.getOrder().getCurrency();
 		this.pc_date = orderChange.getDate();