#import "MJExtension.h"
@interface StoreModel : NSObject
//name
@property(nonatomic,strong)NSString *name;
//id
@property(nonatomic,strong)NSString *iname;
@end
#import "StoreModel.h"
@implementation StoreModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
/* 返回的字典,key为模型属性名,value为转化的字典的多级key */
return @{
@"iname" : @"id"
};
}
@end