XYChatRoomInfoModel.m 707 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // XYChatRoomInfoModel.m
  3. // Starbuds
  4. //
  5. // Created by 翟玉磊 on 2020/7/8.
  6. // Copyright © 2020 翟玉磊. All rights reserved.
  7. //
  8. #import "XYChatRoomInfoModel.h"
  9. @implementation XYChatRoomInfoModel
  10. - (void)setSeats:(NSArray<XYChatRoomSeatsModel *> *)seats {
  11. NSMutableArray *temp = [NSMutableArray array];
  12. for (NSDictionary *dict in seats) {
  13. XYChatRoomSeatsModel *model = XYChatRoomSeatsModel.new;
  14. [model yy_modelSetWithDictionary:dict];
  15. [temp addObject:model];
  16. }
  17. _seats = [NSArray arrayWithArray:temp];
  18. }
  19. @end
  20. @implementation XYChatRoomSeatsModel
  21. @end
  22. @implementation XYChatRoomSeatsUserModel
  23. @end
  24. @implementation XYChatRoomRTCAuthInfoModel
  25. @end