//
//  StatementModel.h
//
//  Created by 杰 张 on 16/7/18
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "StatementRecords.h"
#import "StatementPaging.h"
@class StatementPaging;

@interface StatementModel : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSArray *records;
@property (nonatomic, assign) double amount;
@property (nonatomic, assign) double unpaidTotal;
@property (nonatomic, assign) double paidTotal;
@property (nonatomic, strong) StatementPaging *paging;

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

@end
