import ISummary from '@/core/models/summary';
import { UnitType } from '@/utils';

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

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