00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Foundation/Foundation.h>
00010
00011
00012 @interface GtdTask : NSObject {
00013
00014 @private
00015 NSInteger uid;
00016 NSString *title;
00017 NSDate *date_created;
00018 NSDate *date_modified;
00019 NSDate *date_start;
00020 NSDate *date_due;
00021 NSString *tag;
00022 NSInteger folder;
00023 NSInteger context;
00024 NSInteger priority;
00025 NSDate *completed;
00026 NSInteger length;
00027 NSString *note;
00028 BOOL star;
00029 NSInteger repeat;
00030 NSInteger status;
00031 NSInteger reminder;
00032 NSInteger parentId;
00033 }
00034
00035 @property (nonatomic) NSInteger uid;
00036 @property (nonatomic, copy) NSString *title;
00037 @property (nonatomic, retain) NSDate *date_created;
00038 @property (nonatomic, retain) NSDate *date_modified;
00039 @property (nonatomic, retain) NSDate *date_start;
00040 @property (nonatomic, retain) NSDate *date_due;
00041 @property (nonatomic, copy) NSString *tag;
00042 @property (nonatomic) NSInteger folder;
00043 @property (nonatomic) NSInteger context;
00044 @property (nonatomic) NSInteger priority;
00045 @property (nonatomic, retain) NSDate *completed;
00046 @property (nonatomic) NSInteger length;
00047 @property (nonatomic, copy) NSString *note;
00048 @property BOOL star;
00049 @property (nonatomic) NSInteger repeat;
00050 @property (nonatomic) NSInteger status;
00051 @property (nonatomic) NSInteger reminder;
00052 @property (nonatomic) NSInteger parentId;
00053
00054 @end