18 lines
325 B
Go
18 lines
325 B
Go
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:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|