package services import ( "git.mchus.pro/mchus/quoteforge/internal/models" ) type ComponentListResult struct { Items []ComponentView `json:"items"` TotalCount int64 `json:"total_count"` Page int `json:"page"` PerPage int `json:"per_page"` TotalPages int `json:"total_pages"` } type ComponentView struct { LotName string `json:"lot_name"` Description string `json:"description"` Category string `json:"category"` CategoryName string `json:"category_name"` Model string `json:"model"` PriceFreshness models.PriceFreshness `json:"price_freshness"` PopularityScore float64 `json:"popularity_score"` Specs models.Specs `json:"specs,omitempty"` }