//
//  ICRStoreResult.m
//  Cruiser
//
//  Created by Xummer on 15/6/7.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import "ICRStoreResult.h"
#import "ICRAnswer.h"

@implementation ICRStoreResult

//+ (NSArray *)localKeys {
//    return @[@"uuid", @"isNotUploaded" ];//@[ @"planID", @"isNotUploaded" ];
//}

//+ (NSArray *)PrimaryKeys {
//    return @[@"uuid", @"store_uuid",@"category"];
//}
+ (NSArray *)PrimaryKeys {
    return @[@"store_uuid",@"plan_uuid"];
}
- (NSArray *)ObjectPrimaryKeys {
    return [[self class] PrimaryKeys];
}
#pragma mark - Setter
//- (void)setAnswers:(NSArray *)answers {
//    if ([_answers isEqualToArray:answers]) {
//        return;
//    }
//    
//    _answers = answers;
//    
//    for (NSDictionary *dict in answers) {
//        ICRAnswer *answer = [ICRAnswer DBObject];
//        [answer praseFromJsonDict:dict];
//        
//        [self.arrSubModels addObject:answer];
//    }
//}

@end
