XYWishGiftModel.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // XYWishGiftModel.h
  3. // Timi
  4. //
  5. // Created by 翟玉磊 on 2021/10/19.
  6. //
  7. #import "BaseObject.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @class XYWishRewardItemModel;
  10. @interface XYWishGiftModel : BaseObject
  11. @property (nonatomic, copy) NSString *wishTaskId;
  12. @property (nonatomic, copy) NSString *wishId;
  13. @property (nonatomic, copy) NSString *userId;
  14. /// 许愿礼物信息
  15. @property (nonatomic, copy) NSString *giftId;
  16. @property (nonatomic, copy) NSString *giftIcon;
  17. @property (nonatomic, copy) NSString *giftName;
  18. @property (nonatomic, assign) NSInteger giftNum;
  19. @property (nonatomic, assign) NSInteger currentNum;
  20. @property (nonatomic, copy) NSString *wishReward;
  21. /// 奖励礼物信息
  22. @property (nonatomic, strong) NSArray<XYWishRewardItemModel *> *wishRewards;
  23. /// 状态:0关闭 1开启 2完成
  24. @property (nonatomic, assign) NSInteger status;
  25. @property (nonatomic, copy) NSString *createTime;
  26. @property (nonatomic, copy) NSString *openTime;
  27. @property (nonatomic, copy) NSString *closeTime;
  28. /// 心愿完成时间
  29. @property (nonatomic, copy) NSString *completeTime;
  30. /// 是否删除 1删除 0正常
  31. @property (nonatomic, assign) NSInteger isDeleted;
  32. @end
  33. @interface XYWishRewardItemModel : BaseObject
  34. /// 奖励类型 1礼物 2道具 3坐骑 4勋章 5单聊分钟数 6头饰 7聊天气泡 8金币
  35. @property (nonatomic, assign) NSInteger rewardType;
  36. @property (nonatomic, copy) NSString *rewardId;
  37. @property (nonatomic, assign) NSInteger rewardNum;
  38. @property (nonatomic, copy) NSString *rewardIcon;
  39. @property (nonatomic, copy) NSString *rewardName;
  40. @end
  41. NS_ASSUME_NONNULL_END