初始化2

This commit is contained in:
2026-07-10 17:33:33 +08:00
parent b51ee98afa
commit 94f6ecf901
59 changed files with 3893 additions and 980 deletions

View File

@@ -4,7 +4,7 @@ import "time"
// File 文件模型
type File struct {
ID uint64 `json:"id" gorm:"primaryKey;autoIncrement"`
ID uint64 `json:"id" gorm:"primaryKey"`
Name string `json:"name" gorm:"size:256;not null"`
Extension string `json:"extension" gorm:"size:32"`
FolderID uint64 `json:"folder_id" gorm:"index;not null"`