Files
peko-ios/YuMi/Modules/YMNewHome/Model/HomeLittleGameRoomModel.h
2023-11-15 17:25:09 +08:00

45 lines
1.2 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// HomeLittleGameRoomModel.h
// xplan-ios
//
// Created by 冯硕 on 2022/3/24.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class HomeLittleGameMicUserModel;
@interface HomeLittleGameRoomModel : PIBaseModel
///头像
@property (nonatomic, copy) NSString *avatar;
///小游戏ID
@property(nonatomic, copy) NSString *mgId;
///小游戏名称
@property(nonatomic, copy) NSString *mgName;
///麦上用户
@property (nonatomic, strong) NSArray<HomeLittleGameMicUserModel *> *micUsers;
///在线人数
@property (nonatomic, assign) NSInteger onlineNum;
///房间标题
@property (nonatomic, copy) NSString *title;
///房主的uid
@property (nonatomic,copy) NSString *uid;
///房间小游戏状态:1-游戏进行中2-等人中
@property (nonatomic, assign) NSInteger state;
///是否选择的房间
@property (nonatomic, assign) BOOL isPick;
///是否打开自己房间
@property (nonatomic, assign) BOOL needOpenSelfRoom;
@end
@interface HomeLittleGameMicUserModel : PIBaseModel
///头像
@property (nonatomic, copy) NSString *avatar;
///姓名
@property (nonatomic,copy) NSString *nick;
///用户的uid
@property (nonatomic,copy) NSString *uid;
@end
NS_ASSUME_NONNULL_END