feat: attachments manage function is ready

This commit is contained in:
RockYang
2024-01-15 18:48:01 +08:00
parent dc24a8c781
commit bd057a4cc9
30 changed files with 336 additions and 9 deletions

11
api/store/vo/file.go Normal file
View File

@@ -0,0 +1,11 @@
package vo
type File struct {
Id uint
UserId uint `json:"user_id"`
Name string `json:"name"`
URL string `json:"url"`
Ext string `json:"ext"`
Size int64 `json:"size"`
CreatedAt int64 `json:"created_at"`
}