feat: add uuid

This commit is contained in:
2026-07-04 21:21:13 +03:30
parent 63716576ca
commit c6997477b9
10 changed files with 320 additions and 78 deletions
+5
View File
@@ -8,6 +8,7 @@ const (
)
// CoinPackage بسته‌ی سکه با پول واقعی (IAP) — ممکن است VIP هم بدهد.
// SKU شناسه‌ی محصول در پنلِ مایکت/کافه‌بازار (uuid) است.
type CoinPackage struct {
ID string `json:"id"`
Title string `json:"title"`
@@ -15,6 +16,7 @@ type CoinPackage struct {
VIPDays int `json:"vip_days"`
PriceToman int `json:"price_toman"`
BonusPct int `json:"bonus_pct"`
SKU string `json:"sku"`
}
// TicketPackage بسته‌ی بلیط با پول واقعی (IAP).
@@ -23,6 +25,7 @@ type TicketPackage struct {
Title string `json:"title"`
Tickets int64 `json:"tickets"`
PriceToman int `json:"price_toman"`
SKU string `json:"sku"`
}
// CardSkin اسکین کارت که با سکه باز می‌شود (قیمت ۰ یعنی پیش‌فرض رایگان).
@@ -39,6 +42,7 @@ type Booster struct {
Multiplier int `json:"multiplier"`
Hours int `json:"hours"`
PriceToman int `json:"price_toman"`
SKU string `json:"sku"`
}
// VIPPackage بسته‌ی اشتراک VIP با پول واقعی (IAP).
@@ -47,6 +51,7 @@ type VIPPackage struct {
Title string `json:"title"`
Months int `json:"months"`
PriceToman int `json:"price_toman"`
SKU string `json:"sku"`
}
// TableTier نوع میز: تعداد دست، ورودی، جایزه، XP و جام.