package goods_category_search

type GoodsCategorySearchRequest struct {
	Page   int             `json:"page"`
	Limit  int             `json:"limit"`
	Search SearchCondition `json:"search"`
}

type SearchCondition struct {
	Name  string `json:"full_name"`
	Level int    `json:"level"`
}

type GoodsCategorySearchResponse struct {
	Code int    `json:"code"`
	Msg  string `json:"message"`
	Data struct {
		List []CategoryInfo `json:"list"`
	} `json:"data"`
}

type CategoryInfo struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}
