voice_section.go 535 B

12345678910111213141516
  1. package voice_section
  2. type VoiceSection struct {
  3. SectionId int `gorm:"primaryKey;column:section_id;" description:"板块id"`
  4. SectionName string `description:"板块名称"`
  5. VarietyId int `description:"品种id"`
  6. VarietyName string `description:"品种名称"`
  7. Status int `description:"角色状态"`
  8. ImgUrl string `description:"背景图url"`
  9. CreateTime string `description:"创建时间"`
  10. }
  11. // TableName 表名变更
  12. func (voiceSection *VoiceSection) TableName() string {
  13. return "yb_voice_section"
  14. }