添加在线调试 api
This commit is contained in:
14
server/pkg/models/user.go
Normal file
14
server/pkg/models/user.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
Password string
|
||||
Username string
|
||||
Email string
|
||||
Phone string
|
||||
Name string
|
||||
|
||||
Channels []Channel `gorm:"foreignKey:UserId"`
|
||||
}
|
||||
Reference in New Issue
Block a user