//
//  ZJBaseFileModel.h
//  RealEstateManagement
//
//  Created by Javen on 2017/2/13.
//  Copyright © 2017年 上海勾芒信息科技. All rights reserved.
//

#import "ZJBaseModel.h"

@interface ZJBaseFileModel : ZJBaseModel
@property (nonatomic, strong)  NSNumber <Ignore>  * size;

@property (nonatomic, strong)  NSString <Optional>  * idField;

@property (nonatomic, strong)  NSString <Optional>  * name;

@property (nonatomic, strong)  NSString <Ignore>  * localPath;

@property (strong, nonatomic) UIImage <Ignore> * image;

- (instancetype)initWithDictionary:(NSDictionary *)dict;

/**
 *  显示附件的图片
 *
 *  @param imageView 需要被显示的imageView
 */
- (void)setImageView:(UIImageView *)imageView;

/**
 *  获取文件的url
 *
 *  @param fileUrl 返回的url
 */
- (void)getFileUrlComplelet:(void (^)(NSString *fileUrl))fileUrl;
@end
