package models import "time" type Product struct { ID string `json:"id"` Name string `json:"name"` Price float64 `json:"price"` DiscountPrice float64 `json:"discountPrice"` Tags []string `json:"tags"` Quantity int `json:"quantity"` CoverURL string `json:"coverUrl"` ScreenshotURLs []string `json:"screenshotUrls"` // PaymentQrURLs 萌芽支付收款码图片链接(可多条)。 PaymentQrURLs []string `json:"paymentQrUrls"` VerificationURL string `json:"verificationUrl"` Codes []string `json:"codes"` ViewCount int `json:"viewCount"` Description string `json:"description"` Active bool `json:"active"` RequireLogin bool `json:"requireLogin"` MaxPerAccount int `json:"maxPerAccount"` TotalSold int `json:"totalSold"` DeliveryMode string `json:"deliveryMode"` FulfillmentType string `json:"fulfillmentType"` FixedContent string `json:"fixedContent"` ShowNote bool `json:"showNote"` ShowContact bool `json:"showContact"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }