FileAttachmentBind.java
1.56 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.xiniunet.task.domain;
import com.xiniunet.framework.base.BaseBO;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
/**
* Created by 范智凝 on 2014-08-1 16:10:30.
* @author 范智凝
*/
public class FileAttachmentBind extends BaseBO {
/**
* 文件名称,
*/
private String name;
/**
* 文件后缀,
*/
private String extension;
/**
* 文件大小(字节),
*/
private Long size;
/**
* 存放路径,
*/
private String storagePath;
/**
* 来源类型
*/
private String sourceType;
/**
* 文件类型
*/
private String type;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getExtension() {
return extension;
}
public void setExtension(String extension) {
this.extension = extension;
}
public Long getSize() {
return size;
}
public void setSize(Long size) {
this.size = size;
}
public String getStoragePath() {
return storagePath;
}
public void setStoragePath(String storagePath) {
this.storagePath = storagePath;
}
public String getSourceType() {
return sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}