package model import "time" // Keyword is the unified table for search keywords and seed channels. // Seeds use industry_tag = "seed", their keyword field holds the channel name. type Keyword struct { ID uint `gorm:"primaryKey;autoIncrement" json:"id"` Keyword string `gorm:"uniqueIndex;size:255;not null" json:"keyword"` IndustryTag string `gorm:"size:100" json:"industry_tag"` Enabled bool `gorm:"default:true" json:"enabled"` CreatedAt time.Time `json:"created_at"` }