// // XPGiftInfoModel.h // xplan-ios // // Created by 冯硕 on 2021/11/11. // #import NS_ASSUME_NONNULL_BEGIN //礼物类型 typedef NS_ENUM(NSUInteger, GiftType) { GiftType_Game = 2, // 游戏轰趴礼物 GiftType_Lucky = 3, // 福袋礼物 }; @interface GiftInfoModel : NSObject ///礼物id @property (nonatomic, assign)NSInteger giftId; ///礼物名字 @property (nonatomic, strong)NSString *giftName; ///价格 @property (nonatomic, assign)double goldPrice; ///礼物url @property (nonatomic, copy)NSString *giftUrl; ///福袋svagUrl @property (nonatomic, copy)NSString *luckyGiftSvgaUrl; ///玩法说明Url @property (nonatomic, copy)NSString *giftExplainUrl; @property (nonatomic, assign) GiftType giftType;//礼物类型 ///是否有vgg特效 @property (assign, nonatomic) BOOL hasVggPic; ///动效url @property (copy, nonatomic) NSString *vggUrl; ///是否最新 @property (assign, nonatomic) BOOL hasLatest; ///是否限时 @property (assign, nonatomic) BOOL hasTimeLimit; ///是否特效 @property (assign, nonatomic) BOOL hasEffect; ///是否是房间专属礼物 @property (assign, nonatomic) BOOL roomExclude; ///是否支持发广播 @property (nonatomic,assign) BOOL isSendMsg; /**------------- 礼物背包 ----------------**/ ///个数 @property (nonatomic, assign) NSInteger count; @property (nonatomic, assign) NSInteger reciveCount; //isSelected 用于本地修改 @property (nonatomic,assign) BOOL isSelected;//是否被选中 @end NS_ASSUME_NONNULL_END