28 lines
705 B
Objective-C
28 lines
705 B
Objective-C
//
|
|
// 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
|