This commit is contained in:
守护自己的云 2024-09-26 17:02:05 +08:00
parent 844533c5db
commit b341d97d96
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,7 @@ type ProductListItem struct {
SaleCreatedAt *time.Time `json:"saleCreatedAt"` SaleCreatedAt *time.Time `json:"saleCreatedAt"`
PurchasedCount int64 `json:"purchasedCount"` PurchasedCount int64 `json:"purchasedCount"`
ShipmentCount int64 `json:"shipmentCount"` ShipmentCount int64 `json:"shipmentCount"`
ShipmentdCount int64 `json:"shipmentdCount"`
} }
// List @TITLE 产品列表 // List @TITLE 产品列表
@ -119,6 +120,9 @@ type ProductItem struct {
CurrencySymbol string `json:"currencySymbol"` CurrencySymbol string `json:"currencySymbol"`
CurrencyRate decimal.Decimal `json:"currencyRate"` CurrencyRate decimal.Decimal `json:"currencyRate"`
PurchaseCount int64 `json:"purchaseCount"` PurchaseCount int64 `json:"purchaseCount"`
PurchasedCount int64 `json:"purchasedCount"`
ShipmentCount int64 `json:"shipmentCount"`
ShipmentdCount int64 `json:"shipmentdCount"`
CreatedAt *time.Time `json:"createdAt"` CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"` UpdatedAt *time.Time `json:"updatedAt"`
Children []*ProductItem `json:"children"` Children []*ProductItem `json:"children"`

View File

@ -64,6 +64,8 @@ type SaleProductItem struct {
SealNumber string `json:"sealNumber"` SealNumber string `json:"sealNumber"`
PurchasePrice decimal.Decimal `json:"purchasePrice"` PurchasePrice decimal.Decimal `json:"purchasePrice"`
PurchaseAmount decimal.Decimal `json:"purchaseAmount"` PurchaseAmount decimal.Decimal `json:"purchaseAmount"`
IsSerial int64 `json:"isSerial"`
IsCustoms int64 `json:"isCustoms"`
CreatedAt *time.Time `json:"createdAt"` CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"` UpdatedAt *time.Time `json:"updatedAt"`
} }