model.go 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. package model
  2. // DiscountInfo DiscountInfo
  3. type DiscountInfo struct {
  4. Id int64 `json:"id"`
  5. SceneKey int64 `json:"scene_key"`
  6. SceneValue []int64 `json:"scene_value"`
  7. Platform int64 `json:"platform"`
  8. List map[int64]map[string]interface{} `json:"list"`
  9. }
  10. // BagGiftStatus BagGiftStatus
  11. type BagGiftStatus struct {
  12. Status int64 `json:"status"`
  13. Gift []*GiftInfo `json:"gift"`
  14. }
  15. // GiftInfo GiftInfo
  16. type GiftInfo struct {
  17. GiftID int64 `json:"gift_id"`
  18. GiftNum int64 `json:"gift_num"`
  19. ExpireAt string `json:"expireat"`
  20. }
  21. //DayGiftInfo DayGiftInfo
  22. type DayGiftInfo struct {
  23. ID int64 `json:"id"`
  24. UID int64 `json:"uid"`
  25. Day string `json:"day"`
  26. DayInfo string `json:"day_info"`
  27. }
  28. //BagInfo BagInfo
  29. type BagInfo struct {
  30. ID int64 `json:"id"`
  31. GiftNum int64 `json:"gift_num"`
  32. }
  33. //WeekGiftInfo WeekGiftInfo
  34. type WeekGiftInfo struct {
  35. ID int64 `json:"id"`
  36. UID int64 `json:"uid"`
  37. Week int `json:"week"`
  38. Level int64 `json:"level"`
  39. WeekInfo string `json:"week_info"`
  40. }
  41. //BagGiftList BagGiftList
  42. type BagGiftList struct {
  43. ID int64 `json:"id"`
  44. UID int64 `json:"uid"`
  45. GiftID int64 `json:"gift_id"`
  46. GiftNum int64 `json:"gift_num"`
  47. ExpireAt int64 `json:"expireat"`
  48. }
  49. // GiftOnline .
  50. type GiftOnline struct {
  51. Id int64 `json:"id"`
  52. GiftId int64 `json:"gift_id"`
  53. Name string `json:"name"`
  54. Price int64 `json:"price"`
  55. CoinType int64 `json:"coin_type"`
  56. Type int64 `json:"type"`
  57. Effect int64 `json:"effect"`
  58. CornerMark string `json:"corner_mark"`
  59. Broadcast int64 `json:"broadcast"`
  60. Draw int64 `json:"draw"`
  61. AssetImgBasic string `json:"asset_img_basic"`
  62. AssetImgDynamic string `json:"asset_img_dynamic"`
  63. AssetFrameAnimation string `json:"asset_frame_animation"`
  64. AnimationFrameNum int64 `json:"animation_frame_num"`
  65. AssetGif string `json:"asset_gif"`
  66. AssetWebp string `json:"asset_webp"`
  67. AssetFullScWeb string `json:"asset_full_sc_web"`
  68. AssetFullScHorizontal string `json:"asset_full_sc_horizontal"`
  69. AssetFullScVertical string `json:"asset_full_sc_vertical"`
  70. AssetFullScHorizontalSvga string `json:"asset_full_sc_horizontal_svga"`
  71. AssetFullScVerticalSvga string `json:"asset_full_sc_vertical_svga"`
  72. AssetBulletHead string `json:"asset_bullet_head"`
  73. AssetBulletTail string `json:"asset_bullet_tail"`
  74. Desc string `json:"desc"`
  75. Rights string `json:"rights"`
  76. Rule string `json:"rule"`
  77. PrivilegeRequired int64 `json:"privilege_required"`
  78. LimitInterval int64 `json:"limit_interval"`
  79. }
  80. //GiftPlan .
  81. type GiftPlan struct {
  82. Id int64 `json:"id"`
  83. List string `json:"list"`
  84. SilverList string `json:"silver_list"`
  85. SceneKey int64 `json:"scene_key"`
  86. SceneValue int64 `json:"scene_value"`
  87. Mtime string `json:"mtime"`
  88. Platform int64 `json:"platform"`
  89. }
  90. //DiscountPlan .
  91. type DiscountPlan struct {
  92. Id int64 `json:"id"`
  93. SceneKey int64 `json:"scene_key"`
  94. SceneValue string `json:"scene_value"`
  95. Platform int64 `json:"platform"`
  96. }
  97. //DiscountGift .
  98. type DiscountGift struct {
  99. Id int64 `json:"id"`
  100. DiscountId int64 `json:"discount_id"`
  101. GiftId int64 `json:"gift_id"`
  102. UserType int64 `json:"user_type"`
  103. DiscountPrice int64 `json:"discount_price"`
  104. CornerMark string `json:"corner_mark"`
  105. CornerPosition int64 `json:"corner_position"`
  106. }