FileModel.h 832 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // FileModel.h
  3. // zhuxun
  4. //
  5. // Created by winsoft on 16/7/19.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef enum {
  10. BriefFileTypeOther = 3,
  11. BriefFileTypePic = 2
  12. }BriefFileType;
  13. /**
  14. * 文件模型
  15. */
  16. @interface FileModel : NSObject
  17. @property (nonatomic, copy)NSString *fileName;
  18. /**
  19. * 2017-07-21 新增md5
  20. */
  21. @property (nonatomic , copy) NSString *md5;
  22. /**
  23. * 文件大小,单位byte.
  24. */
  25. @property (nonatomic, copy)NSString *fileSize;
  26. @property (nonatomic, copy)NSString *fileType;
  27. @property (nonatomic, assign)BriefFileType birefFileType;
  28. /**
  29. * xxx/yyy.zzz, set后return为完整路径
  30. */
  31. @property (nonatomic, copy)NSString *fileLocalPath;
  32. @property (nonatomic, copy)NSString *fileFullLocalPath;
  33. @property (nonatomic, copy)NSDate *fileCreateTime;
  34. @property (nonatomic, assign)BOOL selectStatus;
  35. @end