Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user