go-common/app/interface/main/dm2/model/mask.go

26 lines
586 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
// all const variable used in mask
const (
MaskPlatWeb int8 = 0
MaskPlatMbl int8 = 1
)
// MaskLists mask lists
type MaskLists struct {
Onoff int64 `json:"onoff"`
Cid int64 `json:"cid,omitempty"`
Fps int64 `json:"fps,omitempty"`
Time int64 `json:"time,omitempty"`
Lists []string `json:"list,omitempty"`
}
// Mask mask info
type Mask struct {
Cid int64 `json:"cid,omitempty"`
Plat int8 `json:"plat,omitempty"`
FPS int32 `json:"fps,omitempty"`
Time int64 `json:"time,omitempty"`
MaskURL string `json:"mask_url,omitempty"`
}