mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 02:03:42 +08:00
feat: gpt-4-gizmo-g-* model is supported
This commit is contained in:
12
api/store/model/file.go
Normal file
12
api/store/model/file.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type File struct {
|
||||
Id uint `gorm:"primarykey;column:id"`
|
||||
UserId uint
|
||||
URL string
|
||||
Ext string
|
||||
Size int64
|
||||
CreatedAt time.Time
|
||||
}
|
||||
10
api/store/vo/File.go
Normal file
10
api/store/vo/File.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package vo
|
||||
|
||||
type File struct {
|
||||
Id uint
|
||||
UserId uint `json:"user_id"`
|
||||
URL string `json:"url"`
|
||||
Ext string `json:"ext"`
|
||||
Size int64 `json:"size"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user