2012-01-05 01:44:15 +01:00
|
|
|
//
|
2012-02-05 22:18:38 +01:00
|
|
|
// MPElementEntity.h
|
2012-02-03 08:45:09 +01:00
|
|
|
// MasterPassword
|
2012-01-05 01:44:15 +01:00
|
|
|
//
|
|
|
|
// Created by Maarten Billemont on 02/01/12.
|
|
|
|
// Copyright (c) 2012 Lyndir. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <CoreData/CoreData.h>
|
|
|
|
|
|
|
|
|
2012-02-05 22:18:38 +01:00
|
|
|
@interface MPElementEntity : NSManagedObject
|
2012-01-05 01:44:15 +01:00
|
|
|
|
|
|
|
@property (nonatomic, retain) NSString *name;
|
2012-01-29 12:41:48 +01:00
|
|
|
@property (nonatomic, retain) NSString *mpHashHex;
|
2012-02-05 10:31:08 +01:00
|
|
|
@property (nonatomic, assign) int16_t type;
|
|
|
|
@property (nonatomic, assign) int16_t uses;
|
|
|
|
@property (nonatomic, assign) NSTimeInterval lastUsed;
|
|
|
|
@property (nonatomic, retain, readonly) id content;
|
2012-01-05 01:44:15 +01:00
|
|
|
|
|
|
|
- (void)use;
|
|
|
|
|
|
|
|
@end
|