mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 14:55:42 +00:00
adjust calculate total price marketing ayam pullet
This commit is contained in:
@@ -26,6 +26,7 @@ type CreateMarketingProduct struct {
|
||||
UnitPrice float64 `json:"unit_price" validate:"required,gt=0"`
|
||||
Qty float64 `json:"qty" validate:"required,gt=0"`
|
||||
AvgWeight float64 `json:"avg_weight" validate:"omitempty,gt=0"`
|
||||
TotalPrice *float64 `json:"total_price" validate:"omitempty,gt=0"`
|
||||
}
|
||||
|
||||
type Update struct {
|
||||
|
||||
Reference in New Issue
Block a user