animeic 2 tahun lalu
induk
melakukan
88a8557225
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      boxcost/db/model/pack.go

+ 4 - 4
boxcost/db/model/pack.go

@@ -47,14 +47,14 @@ type ComponentStage struct {
 	Id     string             `bson:"id,omitempty" json:"id"`
 	TypeId primitive.ObjectID `bson:"typeId,omitempty" json:"typeId"`
 
-	// 预算价格
+	// 下单单价
 	OrderPrice float64 `bson:"orderPrice,omitempty" json:"orderPrice"`
 
-	// 下单单价
+	// 下单数量
 	OrderCount int `bson:"orderCount,omitempty" json:"orderCount"`
 
-	//实际价格
-	RealPrice float64 `bson:"realPrice,omitempty" json:"realPrice"`
+	//实际价格 OrderPrice*ConfirmCount
+	//预算价格 OrderPrice*OrderCount
 
 	//确认收货数量
 	ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`