package cn.lihongjie.coal.file.entity;

import cn.lihongjie.coal.base.entity.OrgCommonEntity;

import jakarta.persistence.Entity;

import lombok.Data;

import org.hibernate.annotations.Comment;

@Data
@Entity
public class FileEntity extends OrgCommonEntity {

    @Comment("文件目录")
    private String directory;

    @Comment("文件名称")
    private String fileName;

    @Comment("文件mime")
    private String mimeType;

    @Comment("文件大小")
    private Long fileSize;

    @Comment("互联网访问地址")
    private String publicUrl;

    @Comment("局域网访问地址")
    private String privateUrl;

    @Comment("对象ID")
    private String objectId;


}
