48 lines
1.1 KiB
Objective-C
48 lines
1.1 KiB
Objective-C
//
|
|
// CandyTreeResultModel.h
|
|
// xplan-ios
|
|
//
|
|
// Created by 冯硕 on 2021/12/10.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_ENUM(NSInteger, CandyTreeGiftLevel) {
|
|
CandyTreeGiftLevel_First = 1,
|
|
CandyTreeGiftLevel_Second,
|
|
CandyTreeGiftLevel_Third,
|
|
CandyTreeGiftLevel_Fourth,
|
|
CandyTreeGiftLevel_Fifth,
|
|
};
|
|
|
|
@interface CandyTreeGiftInfoModel : NSObject
|
|
///奖品数量
|
|
@property (nonatomic, assign) int prizeNum;
|
|
///相关实体id
|
|
@property (nonatomic, assign) NSInteger referenceId;
|
|
///奖品等级
|
|
@property (nonatomic, assign) CandyTreeGiftLevel prizeLevel;
|
|
///奖品名称
|
|
@property (nonatomic, copy) NSString *prizeName;
|
|
///奖品icon
|
|
@property (nonatomic, copy) NSString *prizeImgUrl;
|
|
///奖品id
|
|
@property (nonatomic, assign) NSInteger prizeId;
|
|
///价格
|
|
@property (nonatomic, assign) CGFloat platformValue;
|
|
@end
|
|
|
|
@interface CandyTreeResultModel : NSObject
|
|
///剩余金币数
|
|
@property (nonatomic,assign) NSInteger goldNum;
|
|
///开出的礼物
|
|
@property (nonatomic,copy) NSArray<CandyTreeGiftInfoModel *> *prizeItemList;
|
|
///剩余的糖果
|
|
@property (nonatomic,assign) NSInteger remainKeyNum;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|