IVTNewVideoModel.m
579 Bytes
//
// IVTNewVideoModel.m
// IVTMeLiveTwo
//
// Created by xrg on 16/8/25.
// Copyright © 2016年 QLQ. All rights reserved.
//
#import "IVTNewVideoModel.h"
@implementation IVTNewVideoModel
- (id)initWithDict:(NSDictionary *)dict
{
if (self = [super init]) {
self.avatarUrl = dict[@"avatar"];
self.liveId = dict[@"id"];
self.chatRoomJid = dict[@"chatroomAddr"];
self.userIDToLive = dict[@"userId"];
self.online_users = [dict[@"audienceNowNum"] intValue];
self.videoUrl = dict[@"videoAddr"];
}
return self;
}
@end