2022-08-15 15:14:38 +08:00
|
|
|
|
//
|
|
|
|
|
// RoomSailingPrizeModel.h
|
|
|
|
|
// xplan-ios
|
|
|
|
|
//
|
|
|
|
|
// Created by 冯硕 on 2022/8/15.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum : NSUInteger {
|
|
|
|
|
SailingPrizeLevelOne=1,
|
|
|
|
|
SailingPrizeLevelTwo,
|
|
|
|
|
SailingPrizeLevelThree,
|
|
|
|
|
SailingPrizeLevelFour,
|
|
|
|
|
} SailingPrizeLevel;
|
|
|
|
|
|
|
|
|
|
//奖品类型。1-萌币,2-礼物,3-座驾,4-头饰,5-背景,6-实物,7-靓号,8-全麦礼物
|
|
|
|
|
typedef NS_ENUM(NSUInteger, SailingPrizeType) {
|
|
|
|
|
SailingPrizeType_Gold = 1,
|
|
|
|
|
SailingPrizeType_Gift,
|
|
|
|
|
SailingPrizeType_Car,
|
|
|
|
|
SailingPrizeType_Headwear,
|
|
|
|
|
SailingPrizeType_Background,
|
|
|
|
|
SailingPrizeType_Matter,
|
|
|
|
|
SailingPrizeType_Beautif,
|
|
|
|
|
SailingPrizeType_WholeServer
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
@interface RoomSailingPrizeModel : NSObject
|
|
|
|
|
@property (nonatomic, copy) NSString *prizeName;//奖品名称
|
|
|
|
|
@property (nonatomic, copy) NSString *prizeImgUrl;//奖品icon
|
|
|
|
|
@property (nonatomic, assign) SailingPrizeType prizeType;//奖品类型
|
|
|
|
|
@property (nonatomic, copy) NSString *prizeTypeDesc;//奖品类型描述
|
|
|
|
|
@property (nonatomic, assign) int prizeNum;//奖品数量
|
|
|
|
|
@property (nonatomic, assign) CGFloat platformValue;//价格
|
|
|
|
|
@property (nonatomic, assign) SailingPrizeLevel prizeLevel;//奖品等级
|
|
|
|
|
@property (nonatomic, assign) NSInteger referenceId;//相关实体id
|
|
|
|
|
@property (nonatomic, assign) NSInteger prizeId;//奖品id
|
2022-08-19 17:42:14 +08:00
|
|
|
|
@property (nonatomic,copy) NSString *nick;
|
|
|
|
|
///等级限制 大于这个等级才能加到公屏
|
|
|
|
|
@property (nonatomic,assign) NSInteger userLevelLimit;
|
|
|
|
|
///用户的uid
|
|
|
|
|
@property (nonatomic,copy) NSString *uid;
|
2022-08-15 15:14:38 +08:00
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|