MOPkUserList.h 855 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // MOPkUserList.h
  3. //
  4. // Created by SuperCabbage on 2023/12/18
  5. // Copyright (c) 2023 __MyCompanyName__. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. @class MOUserProfile;
  9. @interface MOPkUserList : NSObject <NSCoding, NSCopying>
  10. @property (nonatomic, strong) NSString *roomId;
  11. @property (nonatomic, assign) double winNum;
  12. @property (nonatomic, assign) double pkNum;
  13. @property (nonatomic, assign) double winRate;
  14. @property (nonatomic, strong) NSString *pkSecret;
  15. @property (nonatomic, strong) MOUserProfile *userProfile;
  16. @property (nonatomic, assign) double amount;
  17. @property (nonatomic, strong) NSString *invite;
  18. @property (nonatomic, assign) BOOL isSelect;
  19. + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
  20. - (instancetype)initWithDictionary:(NSDictionary *)dict;
  21. - (NSDictionary *)dictionaryRepresentation;
  22. @end