portal/model/tus.go

16 lines
222 B
Go
Raw Normal View History

2023-05-15 16:36:00 +00:00
package model
import (
"gorm.io/gorm"
)
type Tus struct {
gorm.Model
ID uint `gorm:"primaryKey" gorm:"AUTO_INCREMENT"`
UploadID string
Hash string
Info string
AccountID uint
Account Account
2023-05-15 16:36:00 +00:00
}