| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // UserModel.m
- // BuguLive
- //
- // Created by fanwe2014 on 16/5/30.
- // Copyright © 2016年 xfg. All rights reserved.
- //
- #import "UserModel.h"
- @implementation UserModel
- + (NSDictionary *)mj_replacedKeyFromPropertyName{
-
- return @{
- @"Id" : @"id",
- };
- }
- // 两个用户是否相同,可通过比较imUserId来判断
- // 用户IMSDK的identigier
- - (NSString *)imUserId{
- return self.user_id;
- }
- // 用户昵称
- - (NSString *)imUserName{
- return self.nick_name;
- }
- // 用户头像地址
- - (NSString *)imUserIconUrl{
- return self.head_image;
- }
- //-(NSMutableDictionary *)video{
- // if (!_video) {
- // self.video = [NSMutableDictionary new];
- // }
- // return _video;
- //}
- @end
|