1 Star 1 Fork 1

soxueren / vueupload

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
fileSysJdl.jdl 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
yanfa17 提交于 2020-07-31 14:11 . first commit
enum ResourceType {
FILE, DIR, LINK, TMP, RUBBISH
}
enum ResourceStatusType {
SHARED, PUBLIC, PROTECTED
}
entity File{
/*文件名称*/
fKey String required,
/*文件大小*/
fsize Long,
/*文件hash*/
hash String,
/*文件块数*/
blkCount Integer,
/*文件类型*/
mimeType String,
type Integer,
/*状态*/
status Integer,
/*修改时间*/
updateTime ZonedDateTime,
/*剩余保存时间*/
remainingTime ZonedDateTime,
/*上传时间*/
putTime ZonedDateTime
}
entity Block{
/*块 name*/
name String,
/*块 index*/
index Integer,
/*块 hash*/
hash String,
/*块 大小*/
size Long,
/*块 存储类型*/
type Integer,
/*块 预留字段 状态*/
status Integer
}
entity StorageInfo{
host String,
port String,
user String,
passd String,
token String,
namespace String,
type String
}
entity Resource{
name String,
parentId Long,
type ResourceType,
status ResourceStatusType,
createTime ZonedDateTime
}
entity SharedToken {
token String,
createTime ZonedDateTime,
remainingTime ZonedDateTime
}
entity UaaUser {
login String required maxlength(50),
password String required maxlength(60),
firstName String maxlength(50),
lastName String maxlength(50),
email String maxlength(254),
imageUrl String maxlength(256),
enabled Boolean required,
langKey String maxlength(6),
activationKey String maxlength(20),
resetKey String maxlength(20),
createdBy String required maxlength(50),
createdDate Instant required,
resetDate Instant,
lastModifiedBy String maxlength(50),
lastModifiedDate Instant,
telephone String maxlength(50)
}
relationship OneToOne {
Resource{sharedTokenId} to SharedToken
}
relationship OneToMany {
File{blockId} to Block
File{blockStorageId} to StorageInfo
File to Resource{fileId}
UaaUser to Resource{uaaUserId}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/soxueren/vueupload.git
git@gitee.com:soxueren/vueupload.git
soxueren
vueupload
vueupload
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891