feat:update sql init
This commit is contained in:
1 parent
ca8d1e7e33
commit
000cd1d07d
10 files changed
+370
-347
No files matched your search
@@ -20,10 +20,11 @@ type SysRole struct {
|
||||
Remark string `json:"remark" gorm:"size:255;"` //备注
|
||||
Admin bool `json:"admin" gorm:"size:4;"`
|
||||
DataScope string `json:"dataScope" gorm:"size:128;"`
|
||||
BaseModel
|
||||
|
||||
Params string `json:"params" gorm:"-"`
|
||||
MenuIds []int `json:"menuIds" gorm:"-"`
|
||||
DeptIds []int `json:"deptIds" gorm:"-"`
|
||||
BaseModel
|
||||
}
|
||||
|
||||
func (SysRole) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user