提交 | 用户 | 时间
|
1ac2bc
|
1 |
/** |
懒 |
2 |
* Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng) |
|
3 |
* <p> |
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
* you may not use this file except in compliance with the License. |
|
6 |
* You may obtain a copy of the License at |
|
7 |
* <p> |
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
* <p> |
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
* See the License for the specific language governing permissions and |
|
14 |
* limitations under the License. |
|
15 |
*/ |
|
16 |
package cn.stylefeng.guns.sys.modular.system.model; |
|
17 |
|
|
18 |
import lombok.Data; |
|
19 |
|
|
20 |
/** |
|
21 |
* ueditor文件上传返回结果 |
|
22 |
* |
|
23 |
* @author stylefeng |
|
24 |
* @Date 2017/5/5 22:40 |
|
25 |
*/ |
|
26 |
@Data |
|
27 |
public class UeditorFileResult { |
|
28 |
|
|
29 |
/** |
|
30 |
* 状态:固定值SUCCESS |
|
31 |
*/ |
|
32 |
private String state = "SUCCESS"; |
|
33 |
|
|
34 |
public String getState() { |
|
35 |
return state; |
|
36 |
} |
|
37 |
|
|
38 |
public void setState(String state) { |
|
39 |
this.state = state; |
|
40 |
} |
|
41 |
|
|
42 |
public String getUrl() { |
|
43 |
return url; |
|
44 |
} |
|
45 |
|
|
46 |
public void setUrl(String url) { |
|
47 |
this.url = url; |
|
48 |
} |
|
49 |
|
|
50 |
public String getTitle() { |
|
51 |
return title; |
|
52 |
} |
|
53 |
|
|
54 |
public void setTitle(String title) { |
|
55 |
this.title = title; |
|
56 |
} |
|
57 |
|
|
58 |
public String getOriginal() { |
|
59 |
return original; |
|
60 |
} |
|
61 |
|
|
62 |
public void setOriginal(String original) { |
|
63 |
this.original = original; |
|
64 |
} |
|
65 |
|
|
66 |
/** |
|
67 |
* 图片相对路径 |
|
68 |
*/ |
|
69 |
private String url; |
|
70 |
|
|
71 |
/** |
|
72 |
* 文件名称(这里我使用随机字符串来重新命名图片) |
|
73 |
*/ |
|
74 |
private String title; |
|
75 |
|
|
76 |
/** |
|
77 |
* 文件名称(这里我使用随机字符串来重新命名图片) |
|
78 |
*/ |
|
79 |
private String original; |
|
80 |
} |