33 lines
866 B
Objective-C
33 lines
866 B
Objective-C
//
|
|
// MPUserEntity.h
|
|
// MasterPassword-iOS
|
|
//
|
|
// Created by Maarten Billemont on 2013-01-29.
|
|
// Copyright (c) 2013 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreData/CoreData.h>
|
|
|
|
@class MPElementEntity;
|
|
|
|
@interface MPUserEntity : NSManagedObject
|
|
|
|
@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) NSSet *elements;
|
|
@end
|
|
|
|
@interface MPUserEntity(CoreDataGeneratedAccessors)
|
|
|
|
- (void)addElementsObject:(MPElementEntity *)value;
|
|
- (void)removeElementsObject:(MPElementEntity *)value;
|
|
- (void)addElements:(NSSet *)values;
|
|
- (void)removeElements:(NSSet *)values;
|
|
|
|
@end
|