2012-06-04 09:27:02 +00:00
|
|
|
//
|
|
|
|
// MPUserEntity.h
|
2014-09-21 14:49:57 +00:00
|
|
|
// MasterPassword-Mac
|
2012-06-04 09:27:02 +00:00
|
|
|
//
|
2014-09-21 14:39:09 +00:00
|
|
|
// Created by Maarten Billemont on 2014-09-21.
|
2014-09-15 05:00:23 +00:00
|
|
|
// Copyright (c) 2014 Lyndir. All rights reserved.
|
2012-06-04 09:27:02 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <CoreData/CoreData.h>
|
|
|
|
|
2014-09-21 14:39:09 +00:00
|
|
|
@class MPSiteEntity;
|
2012-06-04 09:27:02 +00:00
|
|
|
|
|
|
|
@interface MPUserEntity : NSManagedObject
|
|
|
|
|
2017-04-01 04:30:25 +00:00
|
|
|
@property(nonatomic, retain) NSNumber *avatar_;
|
|
|
|
@property(nonatomic, retain) NSNumber *defaultType_;
|
|
|
|
@property(nonatomic, retain) NSData *keyID;
|
|
|
|
@property(nonatomic, retain) NSDate *lastUsed;
|
|
|
|
@property(nonatomic, retain) NSString *name;
|
|
|
|
@property(nonatomic, retain) NSNumber *saveKey_;
|
|
|
|
@property(nonatomic, retain) NSNumber *touchID_;
|
|
|
|
@property(nonatomic, retain) NSNumber *version_;
|
|
|
|
@property(nonatomic, retain) NSSet *sites;
|
2012-06-04 09:27:02 +00:00
|
|
|
@end
|
|
|
|
|
2017-04-01 04:30:25 +00:00
|
|
|
@interface MPUserEntity(CoreDataGeneratedAccessors)
|
2012-06-04 09:27:02 +00:00
|
|
|
|
2014-09-21 14:49:57 +00:00
|
|
|
- (void)addSitesObject:(MPSiteEntity *)value;
|
|
|
|
- (void)removeSitesObject:(MPSiteEntity *)value;
|
|
|
|
- (void)addSites:(NSSet *)values;
|
|
|
|
- (void)removeSites:(NSSet *)values;
|
2012-06-04 09:27:02 +00:00
|
|
|
|
|
|
|
@end
|