Files
lckt-server/model/app/follow.go
2025-09-06 21:47:31 +08:00

14 lines
327 B
Go

package app
import "git.echol.cn/loser/lckt/global"
type Follow struct {
global.GVA_MODEL
UserId uint `json:"userId" gorm:"comment:用户ID;uniqueIndex:idx_user_teacher"`
TeacherId uint `json:"teacherId" gorm:"comment:讲师ID;uniqueIndex:idx_user_teacher"`
}
func (Follow) TableName() string {
return "app_follow"
}