提交 | 用户 | 时间
|
722af2
|
1 |
package com.dl.system.domain; |
X |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
5 |
import com.dl.common.core.domain.BaseEntity; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.EqualsAndHashCode; |
|
8 |
|
|
9 |
/** |
|
10 |
* OSS对象存储对象 |
|
11 |
* |
|
12 |
* @author Lion Li |
|
13 |
*/ |
|
14 |
@Data |
|
15 |
@EqualsAndHashCode(callSuper = true) |
|
16 |
@TableName("sys_oss") |
|
17 |
public class SysOss extends BaseEntity { |
|
18 |
|
|
19 |
/** |
|
20 |
* 对象存储主键 |
|
21 |
*/ |
|
22 |
@TableId(value = "oss_id") |
|
23 |
private Long ossId; |
|
24 |
|
|
25 |
/** |
|
26 |
* 文件名 |
|
27 |
*/ |
|
28 |
private String fileName; |
|
29 |
|
|
30 |
/** |
|
31 |
* 原名 |
|
32 |
*/ |
|
33 |
private String originalName; |
|
34 |
|
|
35 |
/** |
|
36 |
* 文件后缀名 |
|
37 |
*/ |
|
38 |
private String fileSuffix; |
|
39 |
|
|
40 |
/** |
|
41 |
* URL地址 |
|
42 |
*/ |
|
43 |
private String url; |
|
44 |
|
|
45 |
/** |
|
46 |
* 服务商 |
|
47 |
*/ |
|
48 |
private String service; |
|
49 |
|
|
50 |
} |