feat:update sql init

This commit is contained in:
zhangwenjian committed 2020-09-29 16:32:17 +08:00
1 parent ca8d1e7e33
commit 000cd1d07d
10 files changed
+370 -347

No files matched your search

+2 -1
View File
@@ -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 {