/**
 * 廠商模擬資料
 */

import type { Supplier } from "../types/vendor";

export const mockSuppliers: Supplier[] = [
    {
        id: "sup-1",
        name: "美食材料供應商",
        contact: "王小明",
        phone: "02-2345-6789",
        email: "supplier1@example.com",
        lastPurchaseDate: "2024-11-20",
        commonProducts: [
            { productId: "prod-1", productName: "高筋麵粉", unit: "公斤", lastPrice: 45 },
            { productId: "prod-4", productName: "無鹽奶油", unit: "公斤", lastPrice: 280 },
            { productId: "prod-9", productName: "細砂糖", unit: "公斤", lastPrice: 35 },
            { productId: "prod-12", productName: "雞蛋", unit: "打", lastPrice: 65 },
        ],
        supplyProducts: [
            { id: "sp-1", productId: "prod-1", productName: "高筋麵粉", unit: "公斤", lastPrice: 45 },
            { id: "sp-2", productId: "prod-2", productName: "中筋麵粉", unit: "公斤", lastPrice: 42 },
            { id: "sp-3", productId: "prod-3", productName: "低筋麵粉", unit: "公斤", lastPrice: 40 },
            { id: "sp-4", productId: "prod-4", productName: "無鹽奶油", unit: "公斤", lastPrice: 280 },
            { id: "sp-5", productId: "prod-9", productName: "細砂糖", unit: "公斤", lastPrice: 35 },
            { id: "sp-6", productId: "prod-12", productName: "雞蛋", unit: "打", lastPrice: 65 },
        ],
    },
    {
        id: "sup-2",
        name: "優質乳製品公司",
        contact: "李美玲",
        phone: "02-3456-7890",
        email: "dairy@example.com",
        lastPurchaseDate: "2024-11-25",
        commonProducts: [
            { productId: "prod-5", productName: "鮮奶油", unit: "公升", lastPrice: 180 },
            { productId: "prod-6", productName: "馬斯卡彭起司", unit: "公斤", lastPrice: 450 },
            { productId: "prod-7", productName: "鮮奶", unit: "公升", lastPrice: 55 },
        ],
        supplyProducts: [
            { id: "sp-7", productId: "prod-4", productName: "無鹽奶油", unit: "公斤", lastPrice: 285 },
            { id: "sp-8", productId: "prod-5", productName: "鮮奶油", unit: "公升", lastPrice: 180 },
            { id: "sp-9", productId: "prod-6", productName: "馬斯卡彭起司", unit: "公斤", lastPrice: 450 },
            { id: "sp-10", productId: "prod-7", productName: "鮮奶", unit: "公升", lastPrice: 55 },
            { id: "sp-11", productId: "prod-8", productName: "奶油乳酪", unit: "公斤", lastPrice: 320 },
        ],
    },
    {
        id: "sup-3",
        name: "進口巧克力專賣店",
        contact: "張大華",
        phone: "02-4567-8901",
        email: "chocolate@example.com",
        lastPurchaseDate: "2024-11-18",
        commonProducts: [
            { productId: "prod-13", productName: "70%黑巧克力", unit: "公斤", lastPrice: 520 },
            { productId: "prod-14", productName: "白巧克力", unit: "公斤", lastPrice: 480 },
            { productId: "prod-15", productName: "可可粉", unit: "公斤", lastPrice: 380 },
        ],
        supplyProducts: [
            { id: "sp-12", productId: "prod-13", productName: "70%黑巧克力", unit: "公斤", lastPrice: 520 },
            { id: "sp-13", productId: "prod-14", productName: "白巧克力", unit: "公斤", lastPrice: 480 },
            { id: "sp-14", productId: "prod-15", productName: "可可粉", unit: "公斤", lastPrice: 380 },
        ],
    },
];
