export interface Brand {
  id: string
  nameEn: string
  nameFa: string
  about: string
  slug: string
  imageUrl: string | null
  imageMediaId: string | null
}

export interface BrandFormData {
  nameFa: string
  nameEn: string
  about: string
  image: string | null
  imageMediaId: string | null
}

export interface BrandApi {
  id: string
  businessId: string
  nameEn: string
  nameFa: string | null
  about: string | null
  slug: string
  imageMediaId: string | null
  imageUrl: string | null
  createdAt: string
  updatedAt: string
}

export interface BrandsListResponse {
  items: BrandApi[]
  total: number
  page: number
  pageSize: number
}

export interface CreateBrandPayload {
  nameEn: string
  nameFa?: string
  about?: string
  slug?: string
  imageMediaId?: string
}

export interface UpdateBrandPayload {
  nameEn?: string
  nameFa?: string | null
  about?: string | null
  slug?: string
  imageMediaId?: string | null
}
