portal/db/models/upload.go

14 lines
184 B
Go
Raw Normal View History

package models
import "gorm.io/gorm"
type Upload struct {
gorm.Model
2024-01-16 05:53:39 +00:00
UserID uint
Hash string
Protocol string
User User
UploaderIP string
2024-01-16 05:54:32 +00:00
Size uint64
}