export interface Brands {
  pagination: Pagination
  data: BrandsResult[]
}

export interface BrandsResult {
  id: number
  name: string
  image: string
  slug: string
}

// Brand products
export interface BrandProductsType {
  pagination: Pagination
  data: BrandProductsResultType[]
}

export interface BrandProductsResultType {
  id: number
  name: string
  price: number
  price_discount: number
  discount_percent: number
  is_leader_of_sales: boolean
  poster: string
  poster_thumb: string
  is_favorite: boolean
  is_cart: boolean
  count: number
  power: number
}

interface Pagination {
  current: number
  previous: any
  next: number
  total: number
  perPage: number
  totalItems: number
}