1
This commit is contained in:
10
cmd/migrate/migration/models/role_dept.go
Normal file
10
cmd/migrate/migration/models/role_dept.go
Normal file
@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
type SysRoleDept struct {
|
||||
RoleId int `gorm:"size:11;primaryKey"`
|
||||
DeptId int `gorm:"size:11;primaryKey"`
|
||||
}
|
||||
|
||||
func (SysRoleDept) TableName() string {
|
||||
return "sys_role_dept"
|
||||
}
|
||||
Reference in New Issue
Block a user