Jastor.h 561 B

1234567891011121314151617181920212223242526
  1. //
  2. // Jastor.h
  3. // wq
  4. //
  5. // Created by berwin on 13-7-11.
  6. // Copyright (c) 2013年 Weqia. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <CoreData/CoreData.h>
  10. @interface Jastor : NSObject<NSCoding>
  11. @property (nonatomic, copy) NSString * objectId;
  12. + (id)objectFromDictionary:(NSDictionary*)dictionary;
  13. - (id)initWithDictionary:(NSDictionary *)dictionary;
  14. - (NSMutableDictionary *)toDictionary;
  15. -(NSMutableDictionary*)toDictionaryWithProperty:(BOOL(^)(NSString * propertyName))property;
  16. +(NSArray*)getDataArray:(NSString*)str;
  17. @end