portal/db/models/pin.go

16 lines
173 B
Go

package models
import "gorm.io/gorm"
func init() {
registerModel(&Pin{})
}
type Pin struct {
gorm.Model
UploadID uint
Upload Upload
UserID uint
User User
}