go-common/app/job/main/web-goblin/model/web/model.go

20 lines
429 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package web
// ArcMsg archive .
type ArcMsg struct {
Action string `json:"action"`
Table string `json:"table"`
New *ArchiveSub `json:"new"`
Old *ArchiveSub `json:"old"`
}
// ArchiveSub archive .
type ArchiveSub struct {
Aid int64 `json:"aid"`
Mid int64 `json:"mid"`
PubTime string `json:"pubtime"`
CTime string `json:"ctime"`
MTime string `json:"mtime"`
State int `json:"state"`
}