bilibili-backup/app/service/video/stream-mng/model/official-stream.go

21 lines
756 B
Go
Raw Permalink Normal View History

2019-04-22 10:59:20 +08:00
package model
import (
"time"
)
// OfficialStream 正式流
type OfficialStream struct {
ID int64 `orm:"pk;column(id)" json:"id,omitempty"`
RoomID int64 `json:"room_id,omitempty"`
Src int8 `json:"src,omitempty"`
Name string `json:"name,omitempty"`
Key string `json:"key,omitempty"`
UpRank int64 `json:"up_rank,omitempty"`
DownRank int64 `json:"down_rank,omitempty"`
Status int8 `json:"status,omitempty"`
LastStatusUpdatedAt time.Time `json:"last_status_updated_at,omitempty"`
CreateAt time.Time `json:"create_at,omitempty"`
UpdateAt time.Time `json:"update_at,omitempty"`
}