Initial commit
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// IfishKankanListModel.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 16/11/8.
|
||||
// Copyright © 2016年 lianxiang. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishKankanListModel.h"
|
||||
|
||||
@implementation IfishKankanListModel
|
||||
|
||||
-(instancetype)initWithDict:(NSDictionary *)dict{
|
||||
if (self = [super init]) {
|
||||
_room_id = [dict objectForKey:@"roomId"];
|
||||
_room_name= [dict objectForKey:@"roomName"];
|
||||
_nickname = [dict objectForKey:@"nickName"];
|
||||
_popularityValue = [dict objectForKey:@"popularityValue"];
|
||||
_roomDesc = [dict objectForKey:@"roomDesc"];
|
||||
_numberDays = [dict objectForKey:@"numberDays"];
|
||||
_distance = [dict objectForKey:@"distance"];
|
||||
_cameraId = [dict objectForKey:@"cameraId"];
|
||||
_userImg = [dict objectForKey:@"userImg"];
|
||||
_liveness = [dict objectForKey:@"liveness"];
|
||||
_isZan = [[dict objectForKey:@"isZan"] boolValue];
|
||||
_goldValue = [[dict objectForKey:@"totalGoldValue"] floatValue];
|
||||
_gradeNum = [[dict objectForKey:@"gradeNum"] intValue];
|
||||
_zanNumber = [[dict objectForKey:@"zanNum"] intValue];
|
||||
_userImg = [dict objectForKey:@"userImg"];
|
||||
_userId = [dict objectForKey:@"userId"];
|
||||
_userType = [dict objectForKey:@"userType"];
|
||||
_pinglunNum = [[dict objectForKey:@"pinglunNum"] intValue];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user