go-common/app/job/main/videoup-report/model/archive/track.go

29 lines
640 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package archive
import (
"go-common/library/time"
)
//Track archive track info
type Track struct {
// common values
Timestamp time.Time `json:"timestamp"`
// archive stat
State int `json:"state"`
Round int `json:"round"`
// AID int64 `json:"aid,omitempty"`
Remark string `json:"remark,omitempty"`
Attribute int32 `json:"attribute"`
}
//VideoTrack video track info
type VideoTrack struct {
// common values
Timestamp time.Time `json:"timestamp"`
XCodeState int8 `json:"xcode_state"`
// video status
Status int16 `json:"status"`
AID int64 `json:"aid,omitempty"`
Remark string `json:"remark,omitempty"`
}