17 lines
490 B
Go
17 lines
490 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
// Log is the header/session for a log file.
|
|
type Log struct {
|
|
ID string `bson:"_id"`
|
|
ShortID string `bson:"shortId"`
|
|
Date time.Time `bson:"date"`
|
|
ChannelName string `bson:"channel"`
|
|
EventName string `bson:"event,omitempty"`
|
|
Title string `bson:"title,omitempty"`
|
|
Description string `bson:"description,omitempty"`
|
|
Open bool `bson:"open"`
|
|
CharacterIDs []string `bson:"characterIds"`
|
|
}
|