liyong
3 天以前 d62a74c14a4002c0f401c94976fba8cc77cda6e1
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
package cn.iocoder.yudao.module.system.dal.dataobject.storage;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
/**
 * 文件主表 DO
 *
 * @author 芋道源码
 */
@TableName("system_storage_blob")
@KeySequence("system_storage_blob_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SystemStorageBlobDO extends BaseDO {
 
    /**
     * 主键
     */
    @TableId
    private Long id;
 
    /**
     * 资源唯一标识(公共访问key)
     */
    private String resourceKey;
 
    /**
     * 资源类型,例如 image/jpeg
     */
    private String contentType;
 
    /**
     * 原文件名
     */
    private String originalFilename;
 
    /**
     * 唯一文件名(UUID_原文件名)
     */
    private String uidFilename;
 
    /**
     * 文件大小(字节)
     */
    private Long byteSize;
 
    /**
     * 文件相对路径(如 2026/0430)
     */
    private String path;
 
}