FileUploadInfo.h
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// FileUploadInfo.h
//
// ***************************************************************
// Copyright (c) 2014 –苏州犀牛网络科技有限公司
// Title: com.xiniunet.site.domain.FileUploadInfo
// Description: site Domain
// @author 杨琦
// ***************************************************************
//
#import "BaseDomain.h"
@interface FileUploadInfo : BaseDomain
/**
* @brief 文件ID
*/
@property(nonatomic) UInt64 uuid;
/**
* @brief 文件标题
*/
@property(nonatomic,retain) NSString* title;
/**
* @brief 上传端
*/
@property(nonatomic,retain) NSString* endpoint;
/**
* @brief 存储空间
*/
@property(nonatomic,retain) NSString* bucket;
/**
* @brief 文件存储路径
*/
@property(nonatomic,retain) NSString* fileUrl;
/**
* @brief 行版本号
*/
@property(nonatomic) UInt64 rowVersion;
#pragma mark -定义基类属性
@property(nonatomic,retain) BaseDomain *baseDomain;
#pragma mark -定义外部方法
/**
* @brief 初始化
*/
- (instancetype)init;
/**
* @brief 通过字典赋值
*/
-(void)setSelfDic:(NSMutableDictionary *)dic;
/**
* @brief 返回自身最外层的key
*/
-(NSString *)f_getSelfKey;
@end