更换项目
This commit is contained in:
45
YuMi/Modules/YMRoom/Model/ActivityInfoModel.h
Normal file
45
YuMi/Modules/YMRoom/Model/ActivityInfoModel.h
Normal file
@@ -0,0 +1,45 @@
|
||||
//
|
||||
// ActivityInfoModel.h
|
||||
// YUMI
|
||||
//
|
||||
// Created by YUMI on 2021/12/14.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
///跳转的类型
|
||||
typedef NS_ENUM(NSInteger, ActivitySkipType) {
|
||||
ActivitySkipType_Room = 2,
|
||||
ActivitySkipType_Web,
|
||||
};
|
||||
|
||||
///跳转h5的话 是全屏还是半屏
|
||||
typedef NS_ENUM(NSInteger, ActivityShowType) {
|
||||
ActivityShowType_Full = 1,
|
||||
ActivityShowType_Half = 2,
|
||||
};
|
||||
///活动类型
|
||||
typedef NS_ENUM(NSInteger, ActivityType) {
|
||||
ActivityType_Love = 1,///寻爱
|
||||
ActivityType_First = 2,///首充
|
||||
ActivityType_Fairy = 3,///夺宝精灵
|
||||
|
||||
};
|
||||
|
||||
@interface ActivityInfoModel : NSObject
|
||||
///名称
|
||||
@property (nonatomic,copy) NSString *bannerName;
|
||||
///活动的图片
|
||||
@property (nonatomic, copy)NSString *bannerPic;
|
||||
///跳转类型
|
||||
@property (nonatomic, assign)ActivitySkipType skipType;
|
||||
///如果是跳转房间的话 那就是房主的uid 如果是h5的话 那就是链接
|
||||
@property (nonatomic, copy)NSString *skipUri;
|
||||
///跳转h5类型
|
||||
@property (nonatomic, assign)NSInteger showType;
|
||||
///活动类型
|
||||
@property (nonatomic,assign) ActivityType activityType;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
Reference in New Issue
Block a user