package models import ( "time" ) // Channel represents a chat channel. type Channel struct { Base ID int64 `json:"id"` Name string `json:"name"` Topic string `json:"topic"` Modes string `json:"modes"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` } // Example relation method — will be fleshed out when we add channel_members: // func (c *Channel) Members(ctx context.Context) ([]*User, error) { // return c.DB().GetChannelMembers(ctx, c.ID) // }