portal/db/models/upload.go

13 lines
175 B
Go

package models
import "gorm.io/gorm"
type Upload struct {
gorm.Model
UserID uint
CID string
ProtocolType string
User User
UploaderIP string
}