init: radio init commit

This commit is contained in:
Blizzard
2026-02-28 15:56:26 +08:00
parent fc585fa4df
commit d79beb4663
63 changed files with 2540 additions and 6399 deletions
+16
View File
@@ -0,0 +1,16 @@
package radio
import (
"sundynix-go/global"
)
// RadioLike 用户点赞表
type RadioLike struct {
global.BaseModel
UserId string `gorm:"size:50;index" json:"userId"` // 用户ID
ProgramId string `gorm:"size:50;index" json:"programId"` // 节目ID
}
func (RadioLike) TableName() string {
return "sundynix_radio_like"
}