goweb/model/role.go

12 lines
124 B
Go
Raw Permalink Normal View History

package model
import "gorm.io/gorm"
type Role struct {
gorm.Model
}
func (Role) TableName() string {
return "t_role"
}