package entity import ( "time" "github.com/google/uuid" ) type HeroContentImages struct { ID uuid.UUID `json:"id" gorm:"primaryKey;type:uuid"` HeroContentID uuid.UUID `json:"hero_content_id" gorm:"type:uuid;not null"` ImagePath string `json:"image_path" gorm:"type:text"` ImageURL string `json:"image_url" gorm:"type:text"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } func (HeroContentImages) TableName() string { return "hero_content_images" }