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