//
//  GTOPioneeringResult.m
//  total
//
//  Created by freecui on 15/10/20.
//  Copyright (c) 2015年 free. All rights reserved.
//

#import "GTOPioneeringResult.h"
#import "GTOPioneeringSurveyItem.h"
@implementation GTOPioneeringResult

- (void)setItems:(NSArray *)items {
    if ([_items isEqualToArray:items]) {
        return;
    }
    
    _items = items;
    
    for (NSDictionary *dict in items) {
        GTOPioneeringSurveyItem *pioneeringSurveyItem = [GTOPioneeringSurveyItem DBObject];
        [pioneeringSurveyItem praseFromJsonDict:dict];
        
        [self.arrSubModels addObject:pioneeringSurveyItem];
    }

}
@end
