portal/db/models/pin.go

16 lines
173 B
Go
Raw Normal View History

package models
import "gorm.io/gorm"
func init() {
registerModel(&Pin{})
}
type Pin struct {
gorm.Model
2024-01-16 05:05:25 +00:00
UploadID uint
Upload Upload
UserID uint
User User
}