forked from PhillyOpen/Cycle-Philly-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Trip.h
35 lines (28 loc) · 942 Bytes
/
Trip.h
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
//
// Trip.h
// Cycle Atlanta
//
// Created by Guo Anhong on 13-2-26.
// adapted for CyclePhilly 2013, CodeforPhilly.org
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class Coord, User;
@interface Trip : NSManagedObject
@property (nonatomic, retain) NSNumber * distance;
@property (nonatomic, retain) NSDate * start;
@property (nonatomic, retain) NSString * notes;
@property (nonatomic, retain) NSDate * uploaded;
@property (nonatomic, retain) NSString * purpose;
@property (nonatomic, retain) NSNumber * duration;
@property (nonatomic, retain) NSDate * saved;
@property (nonatomic, retain) NSSet *coords;
@property (nonatomic, retain) NSData * thumbnail;
@property (nonatomic, retain) User *user;
@end
@interface Trip (CoreDataGeneratedAccessors)
- (void)addCoordsObject:(Coord *)value;
- (void)removeCoordsObject:(Coord *)value;
- (void)addCoords:(NSSet *)values;
- (void)removeCoords:(NSSet *)values;
@end