XYVoiceRoomCreateViewModel.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // XYVoiceRoomCreateViewModel.h
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2020/7/7.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import "BaseTableViewModel.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface XYVoiceRoomCreateViewModel : BaseTableViewModel
  11. @property (nonatomic, strong) NSArray *voiceRoomTagModels;
  12. @property (nonatomic, strong) NSArray *voiceRoomTypeModels;
  13. - (void)getInitValueRequestCompleted:(void(^)(NSError *error))completed;
  14. @end
  15. @interface XYVoiceRoomTagModel : NSObject
  16. @property (nonatomic, copy) NSString *tagName;
  17. @property (nonatomic, copy) NSString *tagId;
  18. @property (nonatomic, copy) NSString *backgroundImage;
  19. @property (nonatomic, copy) NSString *backgroundColor;
  20. @property (nonatomic, assign) NSInteger makeFriend;
  21. @property (nonatomic, copy) NSString *categoryId;
  22. @property (nonatomic, copy) NSString *categoryName;
  23. @property (nonatomic, assign) NSInteger layout;
  24. /// 业务类型 0语聊 1个播
  25. @property (nonatomic, assign) NSInteger businessType;
  26. @end
  27. @interface XYVoiceRoomTypeModel : NSObject
  28. @property (nonatomic, copy) NSString *typeName;
  29. @property (nonatomic, copy) NSString *typeId;
  30. @property (nonatomic, copy) NSString *roomType;
  31. @property (nonatomic, copy) NSString *roomTypeName;
  32. /// 业务类型 0语聊 1个播
  33. @property (nonatomic, assign) NSInteger businessType;
  34. @end
  35. NS_ASSUME_NONNULL_END