import ISummary from '@/core/models/summary';

export interface IGoodRawResponse {
  id: string;
  name: string;
  sku: {
    id: string;
    code: string;
    name: string;
    vat: string;
  };
  category: ISummary;
  measure_unit: ISummary;
  pricing_model: string;
  description?: string;
  image_url: string;
  is_default_guild_good: boolean;
  created_at: string;
  updated_at: string;
  is_favorite: boolean;
}
export interface IGoodResponse extends IGoodRawResponse {}

export interface IGoodCategoryRawResponse {
  id: string;
  name: string;
  goods_count: number;
}
export interface IGoodCategoryResponse extends IGoodCategoryRawResponse {}
