projectx/internal/db/model/dto/set_menu_dto.go
2025-03-21 11:05:42 +08:00

27 lines
483 B
Go

package dto
type SetMenuDto struct {
ID int32
Name string
Link string
IsList bool
IsSelect bool
Items []*SetMenuDto
}
type OwnerMenuDto struct {
ID int32 `json:"id"`
// 显示名称
DisplayName string `json:"display_name"`
// 菜单url
Url string `json:"url"`
// 上级id
ParentID int32 `json:"parent_id"`
// 菜单图标
Avatar string `json:"avatar"`
// 菜单样式
Style string `json:"style"`
// 是否列表
IsList bool `json:"is_list"`
}