package validate_service

type LiveInfo struct {
	Title      string `json:"title" validate:"required"`
	Cover      string `json:"cover" validate:"required"`
	CategoryId uint8  `json:"category_id" validate:"required"`
	Duration   uint32 `json:"duration" validate:"required"`
	Attendance uint32 `json:"attendance" validate:"required"`
	Mode       uint8  `json:"mode" validate:"required"`
	ApplyId    uint32 `json:"apply_id" validate:"required"`
	Sort       uint8  `json:"sort" validate:"required"`
	PlatformId int64  `json:"platform_id" validate:"required"`
}

type EditLiveInfo struct {
	LiveInfo
	Id int `json:"id" validate:"required"`
}

type VerifyLiveInfo struct {
	Id     int   `json:"id" validate:"required"`
	Status uint8 `json:"status" validate:"min=1,max=2"`
}
