You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
632 B
28 lines
632 B
package model |
|
|
|
import "encoding/json" |
|
|
|
// ArchiveMsg archive-T databus msg. |
|
type ArchiveMsg struct { |
|
Action string `json:"action"` |
|
Table string `json:"table"` |
|
New json.RawMessage `json:"new"` |
|
Old json.RawMessage `json:"old"` |
|
} |
|
|
|
// ArchiveSub archive |
|
type ArchiveSub struct { |
|
ID int64 `json:"id"` |
|
MID int64 `json:"mid"` |
|
Copyright int8 `json:"copyright"` |
|
State int `json:"state"` |
|
CTime string `json:"ctime"` |
|
MTime string `json:"mtime"` |
|
PTime string `json:"ptime"` |
|
} |
|
|
|
// BgmSub bgm sub |
|
type BgmSub struct { |
|
MID int64 `json:"mid"` |
|
State int `json:"state"` |
|
}
|
|
|