Lib: 2/4, 实现 † JSONModel
EssenceModel.m
#import "EssenceModel.h"
@implementation EssenceModel
@end
@implementation InfoModel
@end
@implementation ListModel
+ (JSONKeyMapper *)keyMapper {
return [[JSONKeyMapper alloc] initWithDictionary:@{@"id":@"listId"}];
}
@end
@implementation CommentModel
+ (JSONKeyMapper *)keyMapper {
return [[JSONKeyMapper alloc] initWithDictionary:@{@"id":@"commentId"}];
}
@end
@implementation TagModel
+ (JSONKeyMapper *)keyMapper {
return [[JSONKeyMapper alloc] initWithDictionary:@{@"id":@"tagId"}];
}
@end
@implementation UserModel
@end
@implementation VideoModel
@end