16 lines
416 B
Go
16 lines
416 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
type Word struct {
|
|
ID int64 `json:"id"`
|
|
WordRaw string `json:"word_raw"`
|
|
Word string `json:"word"`
|
|
Category Category `json:"category"`
|
|
Action Action `json:"action"`
|
|
MuteSeconds int `json:"mute_seconds"`
|
|
Enabled bool `json:"enabled"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|