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"`
}

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