goweb/model/user.go

13 lines
138 B
Go
Raw Normal View History

package model
import "gorm.io/gorm"
type User struct {
gorm.Model
Phone string
}
func (User) TableName() string {
return "t_user"
}