初始化项目文件
This commit is contained in:
14
api_file/model/menus.go
Normal file
14
api_file/model/menus.go
Normal file
@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type Menus struct {
|
||||
MenuId string `json:"menu_id"`
|
||||
Name string `json:"name"`
|
||||
Icon string `json:"icon"`
|
||||
Path string `json:"path"`
|
||||
RouteOnly bool `json:"route_only"`
|
||||
UserType string `json:"user_type"`
|
||||
WhiteList string `json:"white_list"`
|
||||
gorm.Model
|
||||
}
|
Reference in New Issue
Block a user