UserFriendsModel.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // UserFriendsModel.h
  3. // OYGameSKD
  4. //
  5. // Created by leon on 2021/2/1.
  6. // Copyright © 2021 Oujia. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface UserFriendsModel : NSObject
  10. @property (nonatomic, assign) NSInteger numberId;//自定义排序
  11. @property (nonatomic, assign) int code;//为0
  12. @property (nonatomic, assign) int trans_id;//业务id,避免关键字转换成非关键字
  13. @property (nonatomic, assign) NSString * nickname;
  14. @property (nonatomic, assign) NSString * avatar;
  15. @property (nonatomic, assign) int gender;
  16. @property (nonatomic, assign) NSString * city;
  17. @property (nonatomic, assign) NSString * status;//是否在线
  18. @end
  19. @interface RankModel : NSObject
  20. @property (nonatomic, assign) int trans_id;
  21. @property (nonatomic, assign) int rank_id;
  22. @property (nonatomic, assign) int game_id;
  23. @property (nonatomic, assign) int user_id;
  24. @property (nonatomic, assign) int score;
  25. @property (nonatomic, assign) int duration;
  26. @property (nonatomic, assign) int consume;
  27. @property (nonatomic, assign) NSString * finish_at;
  28. @property (nonatomic, assign) NSString * rate_begin;
  29. @property (nonatomic, assign) NSString * rate_end;
  30. @property (nonatomic, assign) NSString * user_name;
  31. @property (nonatomic, assign) NSString * user_avatar;
  32. @property (nonatomic, assign) int user_level;
  33. @property (nonatomic, assign) int user_gender;
  34. //@property (nonatomic, assign) int user_age;
  35. @property (nonatomic, assign) NSArray * achievements;
  36. @property (nonatomic, assign) NSArray * achievements_show;
  37. @property (nonatomic, assign) int position;
  38. @end