Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// MineGoldModel.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 17/3/15.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface MineGoldModel : NSObject
|
||||
@property(nonatomic,copy) NSString *titleName;
|
||||
@property(nonatomic,copy) NSString *creatTime;
|
||||
@property(nonatomic,copy) NSString *goldValue;
|
||||
-(instancetype)initWithDict:(NSDictionary *)dict;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// MineGoldModel.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 17/3/15.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MineGoldModel.h"
|
||||
|
||||
@implementation MineGoldModel
|
||||
|
||||
-(instancetype)initWithDict:(NSDictionary *)dict
|
||||
{
|
||||
|
||||
self.titleName = [dict objectForKey:@"ramark"];
|
||||
self.creatTime = [dict objectForKey:@"createTime"];
|
||||
self.goldValue = [dict objectForKey:@"value"];
|
||||
|
||||
return self;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user