|
|
@@ -37,6 +37,13 @@ public class Order {
|
|
|
@Column(name = "is_upgrade")
|
|
|
private Boolean isUpgrade = false;
|
|
|
|
|
|
+ /**
|
|
|
+ * US-4.2: Whether this order was placed at seed price.
|
|
|
+ * Locked at order creation time, never changes after.
|
|
|
+ */
|
|
|
+ @Column(name = "is_seed_price")
|
|
|
+ private Boolean isSeedPrice = false;
|
|
|
+
|
|
|
@Column(name = "paid_at")
|
|
|
private LocalDateTime paidAt;
|
|
|
|
|
|
@@ -59,6 +66,8 @@ public class Order {
|
|
|
public void setProductType(String productType) { this.productType = productType; }
|
|
|
public Boolean getIsUpgrade() { return isUpgrade; }
|
|
|
public void setIsUpgrade(Boolean isUpgrade) { this.isUpgrade = isUpgrade; }
|
|
|
+ public Boolean getIsSeedPrice() { return isSeedPrice; }
|
|
|
+ public void setIsSeedPrice(Boolean isSeedPrice) { this.isSeedPrice = isSeedPrice; }
|
|
|
public LocalDateTime getPaidAt() { return paidAt; }
|
|
|
public void setPaidAt(LocalDateTime paidAt) { this.paidAt = paidAt; }
|
|
|
public LocalDateTime getCreatedAt() { return createdAt; }
|