change SaleOrderProduct store type

This commit is contained in:
nochill 2023-09-08 12:38:23 +07:00
parent 12aa1f94b9
commit ddc115f4a8

View File

@ -10,8 +10,8 @@ import (
) )
type SaleOrderProduct struct { type SaleOrderProduct struct {
ProductID uuid.UUID `json:"product_id"` ProductID uuid.UUID `json:"id"`
ProductName string `json:"product_name"` ProductName string `json:"name"`
Quantity float64 `json:"quantity"` Quantity float64 `json:"quantity"`
Sub_total float64 `json:"sub_total"` Sub_total float64 `json:"sub_total"`
Price float64 `json:"price"` Price float64 `json:"price"`