<?php

namespace Database\Seeders;

use App\Models\Product;
use Illuminate\Database\Seeder;

class ProductSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $products = array(
            array('productName' => 'Tesla Cyber Tank', 'business_id' => '1', 'unit_id' => '1', 'brand_id' => '1', 'category_id' => '1', 'productCode' => '0001', 'productPicture' => 'uploads/25/05/1746862761-490.jpg', 'productDealerPrice' => '150.00', 'productPurchasePrice' => '100.00', 'productSalePrice' => '200.00', 'productWholeSalePrice' => '180.00', 'productStock' => '10.00', 'expire_date' => NULL, 'alert_qty' => '0', 'profit_percent' => '0', 'vat_amount' => '0.00', 'vat_type' => 'exclusive', 'size' => '48 m', 'type' => 'car', 'color' => 'blue', 'weight' => '1000 kg', 'capacity' => '2', 'productManufacturer' => 'Tesla', 'meta' => NULL, 'created_at' => now(), 'updated_at' => now(), 'vat_id' => NULL),
            array('productName' => 'Bugatti', 'business_id' => '1', 'unit_id' => '1', 'brand_id' => '2', 'category_id' => '1', 'productCode' => '8941161113050', 'productPicture' => 'uploads/25/05/1746862748-579.jpg', 'productDealerPrice' => '220.00', 'productPurchasePrice' => '200.00', 'productSalePrice' => '300.00', 'productWholeSalePrice' => '250.00', 'productStock' => '10.00', 'expire_date' => NULL, 'alert_qty' => '0', 'profit_percent' => '0', 'vat_amount' => '0.00', 'vat_type' => 'exclusive', 'size' => '50 m', 'type' => 'Car', 'color' => 'Black', 'weight' => '1000', 'capacity' => '2', 'productManufacturer' => 'Bugatti', 'meta' => NULL, 'created_at' => now(), 'updated_at' => now(), 'vat_id' => NULL),
            array('productName' => 'Tesla Electric', 'business_id' => '1', 'unit_id' => '1', 'brand_id' => '1', 'category_id' => '1', 'productCode' => '8941153501582', 'productPicture' => 'uploads/25/05/1746862733-793.jpg', 'productDealerPrice' => '70.00', 'productPurchasePrice' => '50.00', 'productSalePrice' => '100.00', 'productWholeSalePrice' => '90.00', 'productStock' => '10.00', 'expire_date' => NULL, 'alert_qty' => '0', 'profit_percent' => '0', 'vat_amount' => '0.00', 'vat_type' => 'exclusive', 'size' => '66', 'type' => 'Car', 'color' => 'Red', 'weight' => '1000', 'capacity' => '2', 'productManufacturer' => 'Tesla', 'meta' => NULL, 'created_at' => now(), 'updated_at' => now(), 'vat_id' => NULL),
            array('productName' => 'Bugatti Chiron', 'business_id' => '1', 'unit_id' => '1', 'brand_id' => '2', 'category_id' => '1', 'productCode' => 'L-00001074', 'productPicture' => 'uploads/24/11/1731320789-386.jpg', 'productDealerPrice' => '230.00', 'productPurchasePrice' => '220.00', 'productSalePrice' => '270.00', 'productWholeSalePrice' => '250.00', 'productStock' => '9.00', 'expire_date' => NULL, 'alert_qty' => '0', 'profit_percent' => '0', 'vat_amount' => '0.00', 'vat_type' => 'exclusive', 'size' => '57', 'type' => 'Car', 'color' => 'Black', 'weight' => '1000', 'capacity' => '2', 'productManufacturer' => 'Bugatti', 'meta' => NULL, 'created_at' => now(), 'updated_at' => now(), 'vat_id' => NULL)
        );

        Product::insert($products);
    }
}
