init: radio init commit
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user