Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// IfishGoodsData.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 17/4/12.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface IfishGoodsData : NSObject
|
||||
@property(nonatomic,copy)NSString*goodsId;
|
||||
@property(nonatomic,copy)NSString*shopName;
|
||||
@property(nonatomic,copy)NSString*goodsName;
|
||||
@property(nonatomic,copy)NSString*goodsLink;
|
||||
@property(nonatomic,copy)NSString*goodsPicture;
|
||||
@property(nonatomic,copy)NSString*oriPrice;
|
||||
@property(nonatomic,copy)NSString*prePrice;
|
||||
-(instancetype)initWithDict:(NSDictionary *)dict;
|
||||
|
||||
@end
|
||||
@@ -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
|
||||
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// ShopModel.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/10/24.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface ShopModel : NSObject
|
||||
@property(nonatomic,copy)NSString*merchantId;
|
||||
@property(nonatomic,copy)NSString*shopName;
|
||||
@property(nonatomic,copy)NSString*mainBusiness;
|
||||
@property(nonatomic,copy)NSString*startTime;
|
||||
@property(nonatomic,copy)NSString*endTime;
|
||||
@property(nonatomic,copy)NSString*appShow;
|
||||
@property(nonatomic,copy)NSString*salutation;
|
||||
@property(nonatomic,copy)NSString*contactPhone;
|
||||
@property(nonatomic,copy)NSString*provinceName;
|
||||
@property(nonatomic,copy)NSString*cityName;
|
||||
@property(nonatomic,copy)NSString*areaName;
|
||||
@property(nonatomic,copy)NSString*road;
|
||||
@property(nonatomic,copy)NSString*isPass;
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopModel.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 15/10/24.
|
||||
// Copyright © 2015年 imac. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopModel.h"
|
||||
|
||||
@implementation ShopModel
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user