提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.*; |
|
4 |
|
|
5 |
import java.io.Serializable; |
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 文件信息表 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-05-04 |
|
15 |
*/ |
|
16 |
@TableName("sys_file_info") |
|
17 |
public class RestFileInfo implements Serializable { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
/** |
|
22 |
* 主键id |
|
23 |
*/ |
|
24 |
@TableId(value = "file_id", type = IdType.ID_WORKER) |
|
25 |
private String fileId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 文件仓库(oss仓库) |
|
29 |
*/ |
|
30 |
@TableField("file_bucket") |
|
31 |
private String fileBucket; |
|
32 |
|
|
33 |
/** |
|
34 |
* 文件名称 |
|
35 |
*/ |
|
36 |
@TableField("file_name") |
|
37 |
private String fileName; |
|
38 |
|
|
39 |
/** |
|
40 |
* 文件后缀 |
|
41 |
*/ |
|
42 |
@TableField("file_suffix") |
|
43 |
private String fileSuffix; |
|
44 |
|
|
45 |
/** |
|
46 |
* 文件大小kb |
|
47 |
*/ |
|
48 |
@TableField("file_size_kb") |
|
49 |
private Long fileSizeKb; |
|
50 |
|
|
51 |
/** |
|
52 |
* 文件唯一标识id |
|
53 |
*/ |
|
54 |
@TableField("final_name") |
|
55 |
private String finalName; |
|
56 |
|
|
57 |
/** |
|
58 |
* 存储路径 |
|
59 |
*/ |
|
60 |
@TableField("file_path") |
|
61 |
private String filePath; |
|
62 |
|
|
63 |
/** |
|
64 |
* 创建时间 |
|
65 |
*/ |
|
66 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
67 |
private Date createTime; |
|
68 |
|
|
69 |
/** |
|
70 |
* 修改时间 |
|
71 |
*/ |
|
72 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
73 |
private Date updateTime; |
|
74 |
|
|
75 |
/** |
|
76 |
* 创建用户 |
|
77 |
*/ |
|
78 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
79 |
private Long createUser; |
|
80 |
|
|
81 |
/** |
|
82 |
* 修改用户 |
|
83 |
*/ |
|
84 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
85 |
private Long updateUser; |
|
86 |
|
|
87 |
|
|
88 |
public String getFileId() { |
|
89 |
return fileId; |
|
90 |
} |
|
91 |
|
|
92 |
public void setFileId(String fileId) { |
|
93 |
this.fileId = fileId; |
|
94 |
} |
|
95 |
|
|
96 |
public String getFileBucket() { |
|
97 |
return fileBucket; |
|
98 |
} |
|
99 |
|
|
100 |
public void setFileBucket(String fileBucket) { |
|
101 |
this.fileBucket = fileBucket; |
|
102 |
} |
|
103 |
|
|
104 |
public String getFileName() { |
|
105 |
return fileName; |
|
106 |
} |
|
107 |
|
|
108 |
public void setFileName(String fileName) { |
|
109 |
this.fileName = fileName; |
|
110 |
} |
|
111 |
|
|
112 |
public String getFileSuffix() { |
|
113 |
return fileSuffix; |
|
114 |
} |
|
115 |
|
|
116 |
public void setFileSuffix(String fileSuffix) { |
|
117 |
this.fileSuffix = fileSuffix; |
|
118 |
} |
|
119 |
|
|
120 |
public Long getFileSizeKb() { |
|
121 |
return fileSizeKb; |
|
122 |
} |
|
123 |
|
|
124 |
public void setFileSizeKb(Long fileSizeKb) { |
|
125 |
this.fileSizeKb = fileSizeKb; |
|
126 |
} |
|
127 |
|
|
128 |
public String getFinalName() { |
|
129 |
return finalName; |
|
130 |
} |
|
131 |
|
|
132 |
public void setFinalName(String finalName) { |
|
133 |
this.finalName = finalName; |
|
134 |
} |
|
135 |
|
|
136 |
public String getFilePath() { |
|
137 |
return filePath; |
|
138 |
} |
|
139 |
|
|
140 |
public void setFilePath(String filePath) { |
|
141 |
this.filePath = filePath; |
|
142 |
} |
|
143 |
|
|
144 |
public Date getCreateTime() { |
|
145 |
return createTime; |
|
146 |
} |
|
147 |
|
|
148 |
public void setCreateTime(Date createTime) { |
|
149 |
this.createTime = createTime; |
|
150 |
} |
|
151 |
|
|
152 |
public Date getUpdateTime() { |
|
153 |
return updateTime; |
|
154 |
} |
|
155 |
|
|
156 |
public void setUpdateTime(Date updateTime) { |
|
157 |
this.updateTime = updateTime; |
|
158 |
} |
|
159 |
|
|
160 |
public Long getCreateUser() { |
|
161 |
return createUser; |
|
162 |
} |
|
163 |
|
|
164 |
public void setCreateUser(Long createUser) { |
|
165 |
this.createUser = createUser; |
|
166 |
} |
|
167 |
|
|
168 |
public Long getUpdateUser() { |
|
169 |
return updateUser; |
|
170 |
} |
|
171 |
|
|
172 |
public void setUpdateUser(Long updateUser) { |
|
173 |
this.updateUser = updateUser; |
|
174 |
} |
|
175 |
|
|
176 |
@Override |
|
177 |
public String toString() { |
|
178 |
return "FileInfo{" + |
|
179 |
"fileId=" + fileId + |
|
180 |
", fileBucket=" + fileBucket + |
|
181 |
", fileName=" + fileName + |
|
182 |
", fileSuffix=" + fileSuffix + |
|
183 |
", fileSizeKb=" + fileSizeKb + |
|
184 |
", finalName=" + finalName + |
|
185 |
", filePath=" + filePath + |
|
186 |
", createTime=" + createTime + |
|
187 |
", updateTime=" + updateTime + |
|
188 |
", createUser=" + createUser + |
|
189 |
", updateUser=" + updateUser + |
|
190 |
"}"; |
|
191 |
} |
|
192 |
} |