/**
 * 商品相關型別定義
 */

export interface Product {
    id: string;
    code: string;
    name: string;
    category_id: number;
    brand?: string;
    specification?: string;
    base_unit?: string;
    large_unit?: string;
    conversion_rate?: number;
    purchase_unit?: string;
    unit?: string; // 相容舊有程式碼
    baseUnit?: { name: string };
}
