package supplier_search

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

type SearchCondition struct {
	Name string `json:"name"`
}

type SearchResponse struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data struct {
		List []SupplierInfo `json:"list"`
	} `json:"data"`
}

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