// Product Catalogue (product-catalogue) v1 — Prisma seed
// Synthetic sample data, CC0-1.0. Generated deterministically; re-running the
// generator with the same spec and seed reproduces this file exactly.
//
// Delegates are named after the tables (prisma.departments), which assumes models
// mapped to those table names. Rename the delegates if your models differ.
import { PrismaClient } from '@prisma/client';

const prisma = new PrismaClient();

async function main() {
    await prisma.departments.createMany({
        data: [
            { id: 1, name: "clothing", description: "An operator asked for a change and the refund was updated.", budget: "1515.80", number_of_categories: 7 },
            { id: 2, name: "garden", description: "The claim was rescheduled — incomplete case, no further action.", budget: "30968.26", number_of_categories: 2 },
            { id: 3, name: "kitchen toys", description: "A partial transfer was cancelled the same day.", budget: "22112.47", number_of_categories: 7 },
            { id: 4, name: "furniture toys", description: "No response from the team, so the refund was reopened.", budget: "33958.19", number_of_categories: 3 },
            { id: 5, name: "garden", description: "The payment was processed — manual case, no further action.", budget: "38902.30", number_of_categories: 7 },
            { id: 6, name: "clothing pet", description: "No response from the reviewer, so the session was reopened.", budget: "27423.49", number_of_categories: 6 },
            { id: 7, name: "books", description: "The record was reviewed following a late review.", budget: "35041.62", number_of_categories: 6 },
            { id: 8, name: "sports", description: "Flagged as urgent. The team updated the booking.", budget: "16704.49", number_of_categories: 7 },
            { id: 9, name: "computers video office", description: null, budget: "1627.79", number_of_categories: 5 },
            { id: 10, name: "garden", description: "The courier asked for a change and the session was cancelled.", budget: "49211.78", number_of_categories: 5 },
        ],
    });
    await prisma.categories.createMany({
        data: [
            { id: 1, department_id: 6, name: "shoes tools", description: "Support confirmed the details and the appointment was confirmed.", average_price: "325.38", number_of_products: 51 },
            { id: 2, department_id: 10, name: "decor", description: "No response from support, so the shipment was cancelled.", average_price: "169.76", number_of_products: 44 },
            { id: 3, department_id: 8, name: "kitchenware decor skincare", description: "A duplicate item was updated the same day.", average_price: "5.09", number_of_products: 48 },
            { id: 4, department_id: 7, name: "sportswear tools", description: "The record was rescheduled — repeat case, no further action.", average_price: "413.80", number_of_products: 65 },
            { id: 5, department_id: 4, name: "novels smartphones", description: "The shipment was rejected after a partial check.", average_price: "41.81", number_of_products: 61 },
            { id: 6, department_id: 10, name: "dresses", description: "An unusual follow-up: the item was resolved.", average_price: "11.80", number_of_products: 51 },
            { id: 7, department_id: 7, name: "toys skincare", description: "An operator confirmed the details and the payment was updated.", average_price: "29.76", number_of_products: 58 },
            { id: 8, department_id: 7, name: "outdoor", description: "A partial transfer was cancelled the same day.", average_price: "428.63", number_of_products: 38 },
            { id: 9, department_id: 5, name: "healthcare toys", description: "The customer confirmed the details and the session was updated.", average_price: "51.70", number_of_products: 25 },
            { id: 10, department_id: 4, name: "tools gaming", description: "No response from the reviewer, so the claim was closed.", average_price: "144.05", number_of_products: 17 },
            { id: 11, department_id: 9, name: "laptops", description: "Support confirmed the details and the invoice was replaced.", average_price: "32.13", number_of_products: 60 },
            { id: 12, department_id: 7, name: "appliances dresses", description: "The document was rejected after a late check.", average_price: "238.37", number_of_products: 56 },
            { id: 13, department_id: 9, name: "accessories skincare", description: "The payment was updated — minor case, no further action.", average_price: "334.18", number_of_products: 47 },
            { id: 14, department_id: 4, name: "shoes", description: "The record was reviewed — incomplete case, no further action.", average_price: "44.30", number_of_products: 27 },
            { id: 15, department_id: 3, name: "skincare", description: "The account owner reported a minor issue; the ticket was replaced.", average_price: "60.75", number_of_products: 34 },
            { id: 16, department_id: 10, name: "tools", description: "The courier confirmed the details and the invoice was refunded.", average_price: "132.33", number_of_products: 44 },
            { id: 17, department_id: 10, name: "watches toys", description: "Flagged as automatic. The reviewer reopened the item.", average_price: "150.74", number_of_products: 69 },
            { id: 18, department_id: 2, name: "appliances gaming tools", description: "No response from the customer, so the appointment was updated.", average_price: "144.06", number_of_products: 48 },
            { id: 19, department_id: 2, name: "decor outdoor toys", description: "The payment was rejected after a partial check.", average_price: "161.47", number_of_products: 58 },
            { id: 20, department_id: 10, name: "dresses sportswear", description: "The invoice was rejected after a manual check.", average_price: "44.00", number_of_products: 41 },
            { id: 21, department_id: 4, name: "watches", description: "The account owner confirmed the details and the delivery was cancelled.", average_price: "451.05", number_of_products: 43 },
            { id: 22, department_id: 8, name: "appliances smartphones tools", description: "An operator asked for a change and the report was refunded.", average_price: "388.44", number_of_products: 58 },
            { id: 23, department_id: 2, name: "furniture appliances", description: "The reviewer reported a minor issue; the request was completed.", average_price: "5.08", number_of_products: 76 },
            { id: 24, department_id: 7, name: "furniture petfood", description: "A repeat follow-up: the shipment was rescheduled.", average_price: "183.39", number_of_products: 37 },
            { id: 25, department_id: 8, name: "kitchenware", description: "Flagged as partial. The courier resolved the report.", average_price: "5.61", number_of_products: 46 },
            { id: 26, department_id: 9, name: "gaming decor kitchenware", description: "The courier reported a manual issue; the payment was approved.", average_price: "55.55", number_of_products: 45 },
            { id: 27, department_id: 4, name: "watches furniture", description: "A repeat request was completed the same day.", average_price: "19.13", number_of_products: 39 },
            { id: 28, department_id: 9, name: "tools smartphones", description: "The customer asked for a change and the ticket was resolved.", average_price: "485.05", number_of_products: 58 },
            { id: 29, department_id: 10, name: "novels gaming kitchenware", description: "A minor claim was reviewed the same day.", average_price: "208.48", number_of_products: 42 },
            { id: 30, department_id: 5, name: "bicycles laptops", description: "The claim was delayed after an unusual check.", average_price: "125.23", number_of_products: 35 },
        ],
    });
    await prisma.suppliers.createMany({
        data: [
            { id: 1, name: "GroceryMart", contact_email: "grocerymart.grocerymart@example.com", phone: "+1-604-555-0112" },
            { id: 2, name: "BeautyPlus", contact_email: "beautyplus.beautyplus@example.org", phone: "+1-612-555-0165" },
            { id: 3, name: "BeautyPlus", contact_email: "beautyplus.beautyplus@example.net", phone: "+1-801-555-0174" },
            { id: 4, name: "Jewelers", contact_email: "jewelers.jewelers@example.org", phone: "+1-202-555-0124" },
            { id: 5, name: "OutdoorGear", contact_email: "outdoorgear.outdoorgear@example.net", phone: "+1-212-555-0172" },
            { id: 6, name: "Sporty", contact_email: "sporty.sporty@example.net", phone: "+1-416-555-0115" },
            { id: 7, name: "GardenSupply", contact_email: "gardensupply.gardensupply@example.org", phone: "+1-213-555-0169" },
            { id: 8, name: "OfficeSupplies", contact_email: "officesupplies.officesupplies@example.net", phone: "+1-213-555-0129" },
            { id: 9, name: "PetStore", contact_email: "petstore.petstore@example.org", phone: "+1-778-555-0176" },
            { id: 10, name: "TechCorp", contact_email: "techcorp.techcorp@example.net", phone: "+1-415-555-0175" },
            { id: 11, name: "HealthFirst", contact_email: "healthfirst.healthfirst@example.org", phone: "+1-303-555-0157" },
            { id: 12, name: "HomeGoods", contact_email: "homegoods.homegoods@example.org", phone: "+1-303-555-0142" },
            { id: 13, name: "FurnishCo", contact_email: "furnishco.furnishco@example.com", phone: "+1-612-555-0160" },
            { id: 14, name: "ToyWorld", contact_email: "toyworld.toyworld@example.org", phone: "+1-213-555-0194" },
            { id: 15, name: "Sporty", contact_email: "sporty.sporty@example.org", phone: "+1-917-555-0142" },
            { id: 16, name: "HealthFirst", contact_email: "healthfirst.healthfirst@example.com", phone: "+1-604-555-0140" },
            { id: 17, name: "GardenSupply", contact_email: "gardensupply.gardensupply@example.com", phone: "+1-713-555-0150" },
            { id: 18, name: "TechCorp", contact_email: "techcorp.techcorp@example.org", phone: "+1-415-555-0110" },
            { id: 19, name: "FashionInc", contact_email: "fashioninc.fashioninc@example.net", phone: "+1-305-555-0152" },
            { id: 20, name: "TechCorp", contact_email: "techcorp.techcorp@example.org", phone: "+1-214-555-0181" },
        ],
    });
    await prisma.products.createMany({
        data: [
            { id: 1, category_id: 19, supplier_id: 9, name: "MacBook mattress drone", price: "401.39", stock_quantity: 448 },
            { id: 2, category_id: 25, supplier_id: 2, name: "lamp headphones", price: "321.50", stock_quantity: 522 },
            { id: 3, category_id: 19, supplier_id: 9, name: "Galaxy mattress bicycle", price: "166.14", stock_quantity: 30 },
            { id: 4, category_id: 10, supplier_id: 16, name: "novel", price: "27.62", stock_quantity: 112 },
            { id: 5, category_id: 24, supplier_id: 1, name: "novel", price: "261.45", stock_quantity: 380 },
            { id: 6, category_id: 1, supplier_id: 11, name: "action-figure drone", price: "889.60", stock_quantity: 486 },
            { id: 7, category_id: 5, supplier_id: 4, name: "drone iPhone", price: "163.51", stock_quantity: 539 },
            { id: 8, category_id: 27, supplier_id: 10, name: "collar sofa", price: "629.47", stock_quantity: 62 },
            { id: 9, category_id: 11, supplier_id: 13, name: "novel cream", price: "921.74", stock_quantity: 245 },
            { id: 10, category_id: 12, supplier_id: 18, name: "blender console", price: "334.99", stock_quantity: 760 },
            { id: 11, category_id: 23, supplier_id: 2, name: "tablet collar", price: "342.50", stock_quantity: 35 },
            { id: 12, category_id: 29, supplier_id: 2, name: "Galaxy iPhone bicycle", price: "370.26", stock_quantity: 7 },
            { id: 13, category_id: 26, supplier_id: 14, name: "smartwatch cream", price: "527.97", stock_quantity: 86 },
            { id: 14, category_id: 16, supplier_id: 6, name: "tablet Galaxy", price: "596.11", stock_quantity: 668 },
            { id: 15, category_id: 17, supplier_id: 16, name: "sofa mattress Galaxy", price: "132.97", stock_quantity: 1 },
            { id: 16, category_id: 7, supplier_id: 5, name: "action-figure running-shoes", price: "1.45", stock_quantity: 108 },
            { id: 17, category_id: 19, supplier_id: 8, name: "lamp", price: "310.65", stock_quantity: 212 },
            { id: 18, category_id: 27, supplier_id: 1, name: "bicycle", price: "170.61", stock_quantity: 914 },
            { id: 19, category_id: 30, supplier_id: 13, name: "smartwatch sofa collar", price: "422.24", stock_quantity: 1 },
            { id: 20, category_id: 25, supplier_id: 3, name: "console", price: "16.61", stock_quantity: 286 },
            { id: 21, category_id: 3, supplier_id: 5, name: "Galaxy", price: "623.75", stock_quantity: 1 },
            { id: 22, category_id: 21, supplier_id: 20, name: "T-shirt Galaxy", price: "12.52", stock_quantity: 225 },
            { id: 23, category_id: 19, supplier_id: 3, name: "novel drone camera", price: "334.71", stock_quantity: 568 },
            { id: 24, category_id: 26, supplier_id: 9, name: "drone", price: "151.79", stock_quantity: 9 },
            { id: 25, category_id: 4, supplier_id: 2, name: "iPhone", price: "374.39", stock_quantity: 673 },
            { id: 26, category_id: 3, supplier_id: 8, name: "console novel", price: "204.09", stock_quantity: 186 },
            { id: 27, category_id: 3, supplier_id: 1, name: "sofa", price: "82.65", stock_quantity: 572 },
            { id: 28, category_id: 10, supplier_id: 11, name: "collar lamp", price: "845.59", stock_quantity: 691 },
            { id: 29, category_id: 23, supplier_id: 5, name: "Galaxy action-figure", price: "627.84", stock_quantity: 791 },
            { id: 30, category_id: 5, supplier_id: 19, name: "novel", price: "715.64", stock_quantity: 85 },
            { id: 31, category_id: 16, supplier_id: 15, name: "console headphones drone", price: "82.76", stock_quantity: 700 },
            { id: 32, category_id: 22, supplier_id: 10, name: "iPhone cream MacBook", price: "230.87", stock_quantity: 558 },
            { id: 33, category_id: 9, supplier_id: 9, name: "cream mattress", price: "50.01", stock_quantity: 566 },
            { id: 34, category_id: 19, supplier_id: 17, name: "T-shirt blender novel", price: "17.31", stock_quantity: 185 },
            { id: 35, category_id: 26, supplier_id: 17, name: "camera action-figure", price: "309.81", stock_quantity: 170 },
            { id: 36, category_id: 18, supplier_id: 15, name: "Galaxy drone camera", price: "694.45", stock_quantity: 789 },
            { id: 37, category_id: 19, supplier_id: 18, name: "sofa", price: "917.48", stock_quantity: 812 },
            { id: 38, category_id: 3, supplier_id: 4, name: "running-shoes MacBook", price: "846.72", stock_quantity: 227 },
            { id: 39, category_id: 20, supplier_id: 7, name: "iPhone", price: "829.74", stock_quantity: 373 },
            { id: 40, category_id: 9, supplier_id: 9, name: "camera", price: "143.39", stock_quantity: 272 },
            { id: 41, category_id: 24, supplier_id: 5, name: "T-shirt iPhone", price: "301.89", stock_quantity: 782 },
            { id: 42, category_id: 28, supplier_id: 2, name: "camera cream", price: "41.78", stock_quantity: 55 },
            { id: 43, category_id: 19, supplier_id: 2, name: "iPhone action-figure sofa", price: "262.01", stock_quantity: 129 },
            { id: 44, category_id: 26, supplier_id: 17, name: "camera smartwatch", price: "994.16", stock_quantity: 1 },
            { id: 45, category_id: 17, supplier_id: 8, name: "cream bicycle mattress", price: "4.27", stock_quantity: 163 },
            { id: 46, category_id: 9, supplier_id: 1, name: "lamp cream bicycle", price: "215.33", stock_quantity: 686 },
            { id: 47, category_id: 11, supplier_id: 5, name: "camera headphones sofa", price: "7.91", stock_quantity: 92 },
            { id: 48, category_id: 29, supplier_id: 20, name: "headphones", price: "88.91", stock_quantity: 83 },
            { id: 49, category_id: 7, supplier_id: 20, name: "sofa headphones camera", price: "607.66", stock_quantity: 43 },
            { id: 50, category_id: 8, supplier_id: 18, name: "camera iPhone", price: "881.75", stock_quantity: 38 },
            { id: 51, category_id: 7, supplier_id: 6, name: "tablet collar T-shirt", price: "23.51", stock_quantity: 543 },
            { id: 52, category_id: 13, supplier_id: 4, name: "camera", price: "788.12", stock_quantity: 166 },
            { id: 53, category_id: 21, supplier_id: 11, name: "MacBook lamp blender", price: "4.27", stock_quantity: 32 },
            { id: 54, category_id: 30, supplier_id: 1, name: "tablet", price: "641.62", stock_quantity: 139 },
            { id: 55, category_id: 12, supplier_id: 2, name: "drone collar console", price: "67.66", stock_quantity: 265 },
            { id: 56, category_id: 9, supplier_id: 6, name: "sofa headphones", price: "751.52", stock_quantity: 58 },
            { id: 57, category_id: 5, supplier_id: 11, name: "sofa T-shirt cream", price: "51.70", stock_quantity: 62 },
            { id: 58, category_id: 15, supplier_id: 12, name: "mattress bicycle", price: "88.17", stock_quantity: 423 },
            { id: 59, category_id: 7, supplier_id: 3, name: "console lamp", price: "157.40", stock_quantity: 248 },
            { id: 60, category_id: 6, supplier_id: 17, name: "collar camera tablet", price: "126.42", stock_quantity: 558 },
            { id: 61, category_id: 9, supplier_id: 13, name: "lamp blender sofa", price: "49.63", stock_quantity: 193 },
            { id: 62, category_id: 24, supplier_id: 2, name: "iPhone smartwatch", price: "5.25", stock_quantity: 329 },
            { id: 63, category_id: 27, supplier_id: 20, name: "lamp MacBook", price: "89.47", stock_quantity: 35 },
            { id: 64, category_id: 19, supplier_id: 12, name: "Galaxy running-shoes tablet", price: "37.85", stock_quantity: 187 },
            { id: 65, category_id: 11, supplier_id: 6, name: "drone", price: "802.51", stock_quantity: 0 },
            { id: 66, category_id: 14, supplier_id: 8, name: "sofa", price: "382.98", stock_quantity: 351 },
            { id: 67, category_id: 2, supplier_id: 18, name: "novel", price: "736.09", stock_quantity: 218 },
            { id: 68, category_id: 11, supplier_id: 17, name: "Galaxy headphones collar", price: "705.31", stock_quantity: 735 },
            { id: 69, category_id: 9, supplier_id: 5, name: "cream Galaxy", price: "373.48", stock_quantity: 141 },
            { id: 70, category_id: 8, supplier_id: 2, name: "action-figure", price: "94.03", stock_quantity: 874 },
            { id: 71, category_id: 14, supplier_id: 6, name: "tablet iPhone", price: "194.67", stock_quantity: 518 },
            { id: 72, category_id: 30, supplier_id: 10, name: "action-figure blender mattress", price: "624.04", stock_quantity: 555 },
            { id: 73, category_id: 23, supplier_id: 1, name: "tablet MacBook drone", price: "248.32", stock_quantity: 844 },
            { id: 74, category_id: 15, supplier_id: 11, name: "T-shirt action-figure console", price: "14.66", stock_quantity: 105 },
            { id: 75, category_id: 12, supplier_id: 19, name: "camera", price: "123.07", stock_quantity: 889 },
            { id: 76, category_id: 28, supplier_id: 3, name: "sofa running-shoes", price: "22.63", stock_quantity: 10 },
            { id: 77, category_id: 3, supplier_id: 5, name: "MacBook cream", price: "103.53", stock_quantity: 139 },
            { id: 78, category_id: 12, supplier_id: 12, name: "sofa Galaxy", price: "384.48", stock_quantity: 77 },
            { id: 79, category_id: 17, supplier_id: 4, name: "iPhone lamp", price: "81.54", stock_quantity: 540 },
            { id: 80, category_id: 12, supplier_id: 7, name: "running-shoes", price: "680.20", stock_quantity: 843 },
            { id: 81, category_id: 8, supplier_id: 16, name: "T-shirt cream", price: "709.22", stock_quantity: 21 },
            { id: 82, category_id: 11, supplier_id: 11, name: "tablet drone", price: "16.42", stock_quantity: 889 },
            { id: 83, category_id: 20, supplier_id: 1, name: "lamp smartwatch", price: "609.28", stock_quantity: 749 },
            { id: 84, category_id: 21, supplier_id: 11, name: "camera", price: "369.87", stock_quantity: 712 },
            { id: 85, category_id: 7, supplier_id: 14, name: "headphones", price: "480.81", stock_quantity: 652 },
            { id: 86, category_id: 22, supplier_id: 13, name: "MacBook", price: "80.23", stock_quantity: 0 },
            { id: 87, category_id: 27, supplier_id: 5, name: "camera", price: "313.58", stock_quantity: 724 },
            { id: 88, category_id: 12, supplier_id: 6, name: "action-figure", price: "100.32", stock_quantity: 184 },
            { id: 89, category_id: 22, supplier_id: 17, name: "Galaxy", price: "973.07", stock_quantity: 210 },
            { id: 90, category_id: 27, supplier_id: 8, name: "Galaxy", price: "306.76", stock_quantity: 128 },
            { id: 91, category_id: 16, supplier_id: 19, name: "MacBook", price: "32.85", stock_quantity: 5 },
            { id: 92, category_id: 29, supplier_id: 15, name: "MacBook drone camera", price: "3.21", stock_quantity: 436 },
            { id: 93, category_id: 10, supplier_id: 5, name: "drone lamp", price: "606.41", stock_quantity: 810 },
            { id: 94, category_id: 25, supplier_id: 18, name: "tablet action-figure headphones", price: "897.28", stock_quantity: 180 },
            { id: 95, category_id: 12, supplier_id: 19, name: "action-figure", price: "125.28", stock_quantity: 0 },
            { id: 96, category_id: 7, supplier_id: 1, name: "T-shirt", price: "313.65", stock_quantity: 892 },
            { id: 97, category_id: 30, supplier_id: 9, name: "action-figure", price: "272.10", stock_quantity: 2 },
            { id: 98, category_id: 8, supplier_id: 2, name: "T-shirt bicycle", price: "81.17", stock_quantity: 50 },
            { id: 99, category_id: 13, supplier_id: 15, name: "action-figure Galaxy", price: "152.51", stock_quantity: 230 },
            { id: 100, category_id: 24, supplier_id: 11, name: "Galaxy running-shoes", price: "7.40", stock_quantity: 187 },
        ],
    });
}

main()
    .then(() => prisma.$disconnect())
    .catch(async error => {
        console.error(error);
        await prisma.$disconnect();
        process.exit(1);
    });
