Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// IfishInformations.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 17/3/13.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishInformations.h"
|
||||
|
||||
@implementation IfishInformations
|
||||
-(instancetype)initWithDict:(NSDictionary *)dict
|
||||
{
|
||||
if (self=[super init]) {
|
||||
_clickNum = [[dict objectForKey:@"clickNum"] intValue];
|
||||
_contents = [dict objectForKey:@"contents"];
|
||||
_image = [dict objectForKey:@"image"];
|
||||
_infoId = [[dict objectForKey:@"infoId"] intValue];
|
||||
_link = [dict objectForKey:@"link"];
|
||||
_pinglunNum = [[dict objectForKey:@"pinglunNum"] intValue];
|
||||
_title = [dict objectForKey:@"title"];
|
||||
|
||||
}
|
||||
return self;
|
||||
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user