//
//  Defintion.h
//
//  Created by Z  on 16/4/11
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Conditions.h"
#import "Orders.h"

@interface Defintion : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSNumber *pageSize;
@property (nonatomic, strong) NSMutableArray<Orders *> *orders;
@property (nonatomic, strong) NSMutableArray<Conditions *> *conditions;
@property (nonatomic, assign) NSNumber *probePages;
@property (nonatomic, strong) NSNumber *page;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
