portal/db/models/upload.go

14 lines
184 B
Go

package models
import "gorm.io/gorm"
type Upload struct {
gorm.Model
UserID uint
Hash string
Protocol string
User User
UploaderIP string
Size uint64
}