UserFriendsModel.m 564 B

1234567891011121314151617181920212223242526
  1. //
  2. // UserFriendsModel.m
  3. // OYGameSKD
  4. //
  5. // Created by duowan123 on 2021/2/1.
  6. // Copyright © 2021 jiketeam. All rights reserved.
  7. //
  8. #import "UserFriendsModel.h"
  9. @implementation UserFriendsModel
  10. - (void)setValue:(id)value forUndefinedKey:(NSString *)key
  11. {
  12. if([key isEqualToString:@"id"]){
  13. self.trans_id = [value intValue];
  14. }else if([key isEqualToString:@"name"]){
  15. self.nickname = value;
  16. }else if([key isEqualToString:@"online_status"]){
  17. self.status = value;
  18. }
  19. // NSLog(@"键值设置 === >> %@",key);
  20. }
  21. @end