//
//  BaseClass.h
//
//  Created by  黄 on 2017/1/23
//  Copyright (c) 2017 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Result;

@interface BaseClass : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) Result *result;
@property (nonatomic, assign) double errorCode;
@property (nonatomic, strong) NSString *reason;

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

@end
