package model import "time" // Mention represents a user mention in a conversation. // Reference: Chatwoot app/models/mention.rb — links a user to a conversation they were mentioned in. type Mention struct { ID uint `gorm:"primaryKey" json:"id"` ConversationID uint `gorm:"not null;index" json:"conversation_id"` UserID uint `gorm:"not null;index" json:"user_id"` AccountID uint `gorm:"not null;index" json:"account_id"` CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"` }