ZXWUserModel.m 1.96 KB
//
//  ZXWUserModel.m
//  CNLiveScioLive
//
//  Created by CNLive-zxw on 2018/9/20.
//  Copyright © 2018年 CNLive. All rights reserved.
//

#import "ZXWUserModel.h"

@implementation ZXWUserModel
- (id)initWithDictionary: (NSDictionary*)jsonDic {
    self.aid = [jsonDic[@"aid"] intValue];
    self.alevel = [jsonDic[@"alevel"] intValue];
    self.avatar = jsonDic[@"avatar"];
    self.china_coin = [jsonDic[@"china_coin"] intValue];
    self.ctaddress = jsonDic[@"ctaddress"];
    self.ctemail = jsonDic[@"ctemail"];
    self.ctid = jsonDic[@"ctid"];
    self.ctmobile = jsonDic[@"ctmobile"];
    self.ctpostcode = jsonDic[@"ctpostcode"];
    self.ctrealname = jsonDic[@"ctrealname"];
    self.emailVerify = [jsonDic[@"emailVerify"] intValue];
    self.errorCode = [jsonDic[@"errorCode"] intValue];
    self.errorMessage = jsonDic[@"errorMessage"];
    self.gift_rec = [jsonDic[@"gift_rec"] intValue];
    self.gift_sent = [jsonDic[@"gift_sent"] intValue];
    self.integrity = [jsonDic[@"integrity"] intValue];
    self.level = [jsonDic[@"level"] intValue];
    self.levelName = jsonDic[@"levelName"];
    self.liveStatuts = [jsonDic[@"liveStatuts"] intValue];
    
    self.openId = jsonDic[@"openId"];
    self.point = [jsonDic[@"point"] intValue];
    self.redPackage = [jsonDic[@"redPackage"] intValue];
    self.type = [jsonDic[@"type"] intValue];
    self.uname = jsonDic[@"uname"];
    self.uniqueId = jsonDic[@"uniqueId"];
    
    self.extInfo = jsonDic[@"extInfo"];
    self.faceUrl = jsonDic[@"faceUrl"];
    self.email = jsonDic[@"email"];
    self.gender = jsonDic[@"gender"];
    self.hUid = jsonDic[@"hUid"];
    self.location = jsonDic[@"location"];
    self.mobile = jsonDic[@"mobile"];
    self.nickname = jsonDic[@"nickName"];
    self.qqUid = jsonDic[@"qqUid"];
    self.renrenUid = jsonDic[@"renrenUid"];
    self.sinaUid = jsonDic[@"sinaUid"];
    self.token = jsonDic[@"token"];
    self.wxUid = jsonDic[@"wxUid"];
    self.uid = jsonDic[@"uid"];
    
    return self;
}
@end