Dealer/pkg/internal/models/link.go
2024-08-19 19:05:47 +08:00

17 lines
441 B
Go

package models
type LinkMeta struct {
BaseModel
Entry string `json:"entry_id" gorm:"uniqueIndex"`
Icon string `json:"icon"`
URL string `json:"url"`
Title *string `json:"title"`
Image *string `json:"image"`
Video *string `json:"video"`
Audio *string `json:"audio"`
Description *string `json:"description"`
SiteName *string `json:"site_name"`
Type *string `json:"type"`
}