Files
sundynix-radio-be/model/radio/response/channel.go
T
2026-02-28 15:56:26 +08:00

30 lines
899 B
Go

package response
// ChannelResponse 频道响应
type ChannelResponse struct {
Id string `json:"id"`
CategoryId string `json:"categoryId"`
Name string `json:"name"`
Description string `json:"description"`
CoverUrl string `json:"coverUrl"`
StreamUrl string `json:"streamUrl"`
Tags string `json:"tags"`
IsVipOnly int `json:"isVipOnly"`
Sort int `json:"sort"`
Status int `json:"status"`
}
// ChannelDetailResponse 频道详情响应
type ChannelDetailResponse struct {
Id string `json:"id"`
CategoryId string `json:"categoryId"`
Name string `json:"name"`
Description string `json:"description"`
CoverUrl string `json:"coverUrl"`
StreamUrl string `json:"streamUrl"`
Tags string `json:"tags"`
IsVipOnly int `json:"isVipOnly"`
Sort int `json:"sort"`
Status int `json:"status"`
}