feat: model type change
This commit is contained in:
1 parent
84a78d7b4f
commit
02cc68daea
20 files changed
+286
-257
No files matched your search
+5
-5
@@ -7,11 +7,11 @@ import (
|
||||
)
|
||||
|
||||
type RoleMenu struct {
|
||||
RoleId int `gorm:"type:int(11)"`
|
||||
MenuId int `gorm:"type:int(11)"`
|
||||
RoleName string `gorm:"type:varchar(128)"`
|
||||
CreateBy string `gorm:"type:varchar(128)"`
|
||||
UpdateBy string `gorm:"type:varchar(128)"`
|
||||
RoleId int `gorm:""`
|
||||
MenuId int `gorm:""`
|
||||
RoleName string `gorm:"size:128)"`
|
||||
CreateBy string `gorm:"size:128)"`
|
||||
UpdateBy string `gorm:"size:128)"`
|
||||
}
|
||||
|
||||
func (RoleMenu) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user