forked from omz/AppSales-Mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathASAccount.h
41 lines (33 loc) · 1.21 KB
/
ASAccount.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
36
37
38
39
40
41
//
// Account.h
// AppSales
//
// Created by Ole Zorn on 30.06.11.
// Copyright (c) 2011 omz:software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface ASAccount : NSManagedObject {
BOOL isDownloadingReports;
NSString *downloadStatus;
float downloadProgress;
}
@property (nonatomic, assign) BOOL isDownloadingReports;
@property (nonatomic, retain) NSString *password; // this property encapsulates the keychain access,
// it is not actually stored in the Core Data model
@property (nonatomic, retain) NSString *downloadStatus;
@property (nonatomic, assign) float downloadProgress;
// Core Data properties:
@property (nonatomic, retain) NSString *username;
@property (nonatomic, retain) NSString *vendorID;
@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) NSNumber *sortIndex;
@property (nonatomic, retain) NSSet *dailyReports;
@property (nonatomic, retain) NSSet *weeklyReports;
@property (nonatomic, retain) NSSet *products;
@property (nonatomic, retain) NSSet *payments;
@property (nonatomic, retain) NSNumber *reportsBadge;
@property (nonatomic, retain) NSNumber *paymentsBadge;
- (void)deletePassword;
- (NSString *)displayName;
@end