Dealer/pkg/internal/models/link.go

17 lines
441 B
Go
Raw Normal View History

2024-08-19 06:35:24 +00:00
package models
type LinkMeta struct {
BaseModel
Entry string `json:"entry_id" gorm:"uniqueIndex"`
2024-08-19 06:35:24 +00:00
Icon string `json:"icon"`
URL string `json:"url"`
Title *string `json:"title"`
2024-08-19 11:05:47 +00:00
Image *string `json:"image"`
2024-08-19 06:35:24 +00:00
Video *string `json:"video"`
2024-08-19 11:05:47 +00:00
Audio *string `json:"audio"`
2024-08-19 06:35:24 +00:00
Description *string `json:"description"`
2024-08-19 11:05:47 +00:00
SiteName *string `json:"site_name"`
Type *string `json:"type"`
2024-08-19 06:35:24 +00:00
}