voice_broadcast_statistics.go 1.3 KB

123456789101112131415161718192021222324252627282930
  1. package voice_broadcast_statistics
  2. type VoiceBroadcastStatistics struct {
  3. Id int `gorm:"primaryKey;column:id;"`
  4. CompanyId int `description:"客户ID"`
  5. CompanyName string `description:"客户名称"`
  6. UserId int `description:"用户ID"`
  7. RealName string `description:"用户名称"`
  8. Mobile string `description:"用户手机号"`
  9. Email string `description:"电子邮箱"`
  10. CompanyStatus string `description:"客户状态"`
  11. SellerId int `description:"销售id"`
  12. Source int `description:"点击来源,1手机小程序,2pc小程序,3web端"`
  13. BroadcastId int `description:"语音ID"`
  14. BroadcastName string `description:"语音名称"`
  15. SectionId int `description:"语音分类ID"`
  16. SectionName string `description:"语音分类名称"`
  17. VarietyId int `description:"品种id"`
  18. VarietyName string `description:"品种名称"`
  19. AuthorId int `description:"作者id"`
  20. Author string `description:"语音管理员"`
  21. PublishTime string `description:"发布时间"`
  22. CreateTime string `description:"访问时间"`
  23. StopSeconds int `description:"停止时的秒数"`
  24. }
  25. // TableName 表名变更
  26. func (voiceBroadcastStatistics *VoiceBroadcastStatistics) TableName() string {
  27. return "yb_voice_broadcast_statistics"
  28. }