Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package productser
import "go.mongodb.org/mongo-driver/bson/primitive"
type ActivityCouponDetailResponse struct {
OriginalPrice int64 `json:"originalPrice" ` // 原价
DiscountedPrice int64 `json:"discountedPrice"` // 现价
CouponList []ActivityCoupon `json:"couponList"` // 优惠卷列表
IsDiscounted bool `json:"isDiscounted"` // 是否折扣
}
type ActivityCoupon struct {
ID primitive.ObjectID `json:"id"` // 优惠卷ID
Name string `json:"name"` // 优惠卷名字
Count int32 `json:"count"` // 优惠卷数量
DiscountedPrice int64 `json:"discountedPrice"` // 现价
}