package voice_broadcast type VoiceBroadcast struct { BroadcastId int `gorm:"primaryKey;column:broadcast_id;type:int(11)" 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:"更新时间"` PublishState int `description:"发布状态:0-未发布 1-已发布"` PublishTime string `description:"发布时间"` PrePublishTime string `description:"预发布时间"` MsgState int `description:"消息推送状态:0-待推送 1-已推送"` MsgTime string `description:"消息推送时间"` } // TableName get sql table name.获取数据库表名 func (m *VoiceBroadcast) TableName() string { return "yb_voice_broadcast" }