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