-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathShareModel.m
More file actions
38 lines (31 loc) · 832 Bytes
/
ShareModel.m
File metadata and controls
38 lines (31 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// ShareModel.m
// DuDu
//
// Created by i-chou on 1/21/16.
// Copyright © 2016 i-chou. All rights reserved.
//
#import "ShareModel.h"
@implementation ShareModel
+ (NSDictionary *)JSONKeyPathsByPropertyKey
{
return @{
@"weixin_pic" : @"weixin_pic",
@"weixin_title" : @"weixin_title",
@"weixin_link" : @"weixin_link",
@"wait_order_time" : @"wait_order_time",
@"distance_length" : @"distance_length",
@"user_isFreeTaxi" : @"user_isFreeTaxi"
};
}
+ (NSString *)managedObjectEntityName {
return @"ShareModel";
}
+ (NSDictionary *)managedObjectKeysByPropertyKey {
return nil;
}
- (double)wait_order_time_seconds
{
return [self.wait_order_time floatValue] * 60;
}
@end