MOLiveBase.h 765 B

123456789101112131415161718192021222324252627
  1. //
  2. // MOLiveBase.h
  3. //
  4. // Created by SuperCabbage on 2023/10/18
  5. // Copyright (c) 2023 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @interface MOLiveBase : NSObject <NSCoding, NSCopying>
  9. /** 返回下一页的基准点 - 游标,NULL/空字符串 = 没有下一页 */
  10. @property (nonatomic, strong) NSString *next;
  11. /** */
  12. @property (nonatomic, strong) NSArray *liveList;
  13. /** 是否推荐数据 */
  14. @property (nonatomic, assign) BOOL recommend;
  15. /** 当前直播人数 (只有获取关注主播时有用) */
  16. @property (nonatomic, assign) double liveCount;
  17. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  18. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  19. - (NSDictionary *)dictionaryRepresentation;
  20. @end