28 lines
688 B
Objective-C
28 lines
688 B
Objective-C
//
|
|
// IfishGoodsData.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 17/4/12.
|
|
// Copyright © 2017年 lianlian. All rights reserved.
|
|
//
|
|
|
|
#import "IfishGoodsData.h"
|
|
|
|
@implementation IfishGoodsData
|
|
|
|
-(instancetype)initWithDict:(NSDictionary *)dict
|
|
{
|
|
if (self=[super init]) {
|
|
_goodsId = [dict objectForKey:@"goodsId"];
|
|
_shopName = [dict objectForKey:@"shopName"];
|
|
_goodsName= [dict objectForKey:@"goodsName"];
|
|
_goodsLink = [dict objectForKey:@"goodsLink"];
|
|
_goodsPicture = [dict objectForKey:@"goodsPicture"];
|
|
_oriPrice = [dict objectForKey:@"oriPrice"];
|
|
_prePrice = [dict objectForKey:@"prePrice"];
|
|
|
|
}
|
|
return self;
|
|
}
|
|
@end
|