单军华
2017-07-12 20d1260d26b028897f3c0935c12fc35aa37b2e93
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
//
//  NSObject+LHModel.h
//  LHDBDemo
//
//  Created by 3wchina01 on 16/3/21.
//  Copyright © 2016年 李浩. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
@interface NSObject (LHModel)
 
+ (id)lh_ModelWithJSON:(id)json;
 
+ (id)lh_ModelWithDictionary:(NSDictionary*)dic;
 
- (NSDictionary*)lh_ModelToDictionary;
 
- (NSData*)lh_ModelToData;
 
+ (NSDictionary*)getAllPropertyNameAndType;
 
+ (NSString*)getTypeNameWith:(NSString*)propertyName;
 
@end