portal/db/models/pin.go

12 lines
133 B
Go

package models
import "gorm.io/gorm"
type Pin struct {
gorm.Model
UploadID uint
Upload Upload
UserID uint
User User
}