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

#import <Foundation/Foundation.h>
#import "JavenConsumer.h"

@interface JavenCustomer : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) JavenConsumer *consumer;
@property (nonatomic, assign) double orderCount;
@property (nonatomic, assign) double commissionTotal;

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

@end
