package response

// BroadcastListResp 语音播报列表resp
type BroadcastListResp struct {
	List         []Broadcast
	IsVoiceAdmin bool `description:"是否为语音管理员"`
}

type Broadcast struct {
	BroadcastId      int      `description:"语音ID"`
	BroadcastName    string   `description:"语音名称"`
	SectionId        int      `description:"语音分类ID"`
	SectionName      string   `description:"语音分类名称"`
	VarietyId        int      `description:"品种id"`
	VarietyName      string   `description:"品种名称"`
	AuthorId         int      `description:"作者id"`
	Author           string   `description:"作者"`
	ImgUrl           string   `description:"背景图url"`
	VoiceUrl         string   `description:"音频url"`
	VoicePlaySeconds string   `description:"音频时长"`
	VoiceSize        string   `description:"音频大小"`
	CreateTime       string   `description:"创建时间"`
	ModifyTime       string   `description:"更新时间"`
	IsAuthor         bool     `description:"是否为作者"`
	CouldSendMsg     bool     `description:"是否可推送消息"`
	PublishState     int      `description:"发布状态：0-未发布 1-已发布"`
	PublishTime      string   `description:"发布时间"`
	PrePublishTime   string   `description:"定时发布时间"`
	Imgs             []string `description:"图片"`
	CentralArguments string   `description:"核心观点"`
}

type VarietyList struct {
	VarietyId   int
	VarietyName string
	Children    []SectionList
}

type SectionList struct {
	ImgUrl      string
	SectionId   int
	SectionName string
	Status      int
}

type BroadcastListStatusCount struct {
	Unpublished int `description:"未发布"`
	Published   int `description:"已发布"`
	All         int `description:"全部"`
}
