package response import ( "github.com/google/uuid" "time" ) type MenuModulesResponse struct { ID uint `json:"id"` MenuId uint `json:"menu_id"` ModuleId uint `json:"module_id"` Position *int `json:"position"` ClientId *uuid.UUID `json:"client_id"` IsActive *bool `json:"is_active"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Menu *MenuBasicResponse `json:"menu,omitempty"` Module *ModuleBasicResponse `json:"module,omitempty"` } type MenuBasicResponse struct { ID uint `json:"id"` Name string `json:"name"` Description string `json:"description"` Icon *string `json:"icon"` Group string `json:"group"` } type ModuleBasicResponse struct { ID uint `json:"id"` Name string `json:"name"` Description string `json:"description"` PathUrl string `json:"path_url"` ActionType *string `json:"action_type"` }