12 lines
137 B
Go
12 lines
137 B
Go
|
package model
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type UserRole struct {
|
||
|
gorm.Model
|
||
|
}
|
||
|
|
||
|
func (UserRole) TableName() string {
|
||
|
return "t_user_role"
|
||
|
}
|