This commit is contained in:
守护自己的云 2024-09-27 10:28:40 +08:00
parent b341d97d96
commit d9a4d289dc

View File

@ -11,33 +11,35 @@ type benefit struct {
} }
type BenefitProductItem struct { type BenefitProductItem struct {
Id int64 `json:"id"` Id int64 `json:"id"`
ProductId int64 `json:"productId"` ParentId int64 `json:"parentId"`
Serial string `json:"serial"` ProductId int64 `json:"productId"`
CustomSerial string `json:"customSerial"` Serial string `json:"serial"`
Name string `json:"name"` CustomSerial string `json:"customSerial"`
EngName string `json:"engName"` Name string `json:"name"`
Mold int64 `json:"mold"` EngName string `json:"engName"`
FactoryId int64 `json:"factoryId"` Mold int64 `json:"mold"`
FactoryName string `json:"factoryName"` FactoryId int64 `json:"factoryId"`
FactorySerial string `json:"factorySerial"` FactoryName string `json:"factoryName"`
SaleCount int64 `json:"saleCount"` FactorySerial string `json:"factorySerial"`
Price decimal.Decimal `json:"price"` SaleCount int64 `json:"saleCount"`
Amount decimal.Decimal `json:"amount"` Price decimal.Decimal `json:"price"`
AmountMinusTax decimal.Decimal `json:"amountMinusTax"` Amount decimal.Decimal `json:"amount"`
Currency string `json:"currency"` AmountMinusTax decimal.Decimal `json:"amountMinusTax"`
CurrencySymbol string `json:"currencySymbol"` Currency string `json:"currency"`
CurrencyName string `json:"currencyName"` CurrencySymbol string `json:"currencySymbol"`
CurrencyRate decimal.Decimal `json:"currencyRate"` CurrencyName string `json:"currencyName"`
MinusTaxRate *decimal.Decimal `json:"minusTaxRate"` CurrencyRate decimal.Decimal `json:"currencyRate"`
SalePrice decimal.Decimal `json:"salePrice"` MinusTaxRate *decimal.Decimal `json:"minusTaxRate"`
SaleAmount decimal.Decimal `json:"saleAmount"` SalePrice decimal.Decimal `json:"salePrice"`
SaleCurrency string `json:"saleCurrency"` SaleAmount decimal.Decimal `json:"saleAmount"`
SaleCurrencySymbol string `json:"saleCurrencySymbol"` SaleCurrency string `json:"saleCurrency"`
SaleCurrencyName string `json:"saleCurrencyName"` SaleCurrencySymbol string `json:"saleCurrencySymbol"`
SaleCurrencyRate decimal.Decimal `json:"saleCurrencyRate"` SaleCurrencyName string `json:"saleCurrencyName"`
SaleAmountCny decimal.Decimal `json:"saleAmountCny"` SaleCurrencyRate decimal.Decimal `json:"saleCurrencyRate"`
ProfitAndLossCny decimal.Decimal `json:"profitAndLossCny"` SaleAmountCny decimal.Decimal `json:"saleAmountCny"`
ProfitAndLossCny decimal.Decimal `json:"profitAndLossCny"`
Children []*BenefitProductItem `json:"children"`
} }
// Product @TITLE 获取产品 // Product @TITLE 获取产品