//
//  HCFavoriteIconModel.m
//  HCSpringBoard
//
//  Created by 鍒樻捣宸?on 16/3/4.
//  Copyright 漏 2016骞?Haichuan Liu. All rights reserved.
//

#import "HCFavoriteIconModel.h"
#import "NSObject+YYModel.h"

@implementation HCFavoriteIconModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"image" : @"kImage",
             @"imageSeleted" : @"kImageSeleted",
             @"name" : @"kNodeName",
             @"display" : @"kIsDisplay",
             @"isReadOnly" : @"kIsReadOnly",
             @"menuListImage" : @"kMenuListImage",
             @"navigationPointing" : @"kNavigationObject",
             @"isNeedLogin" : @"kNeedLogin",
             @"nodeIndex" : @"kNodeIndex",
             @"sortNum" : @"kSortNum",
             @"targetController" : @"kSendController",
             @"type" : @"kNodeType",
             @"itemList" : @"kItems"};
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"itemList" : HCFavoriteIconModel.class};
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [self modelEncodeWithCoder:aCoder];
}
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder {
    return [self modelInitWithCoder:aDecoder];
}

- (NSUInteger)hash {
    return [self modelHash];
}
- (BOOL)isEqual:(id)object {
    return [self modelIsEqual:object];
}


@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com