<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ProductsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $products = [
            [
                'id' => 26,
                'buy_price' => 1.00,
                'sell_price' => 1.50,
                'type' => 'Phone',
                'name' => 'VA-234',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 50,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-03-18 16:18:51',
                'created_at' => '2025-03-09 21:18:19',
                'updated_at' => '2025-03-18 16:18:51',
                'tenant_id' => 1,
            ],
            [
                'id' => 27,
                'buy_price' => 0.50,
                'sell_price' => 0.75,
                'type' => 'Phone',
                'name' => 'V-3477',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 100,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-03-18 16:18:54',
                'created_at' => '2025-03-09 21:19:27',
                'updated_at' => '2025-03-18 16:18:54',
                'tenant_id' => 1,
            ],
            [
                'id' => 28,
                'buy_price' => 200.00,
                'sell_price' => 300.00,
                'type' => 'Phone',
                'name' => 'iPhone 12',
                'customer_info' => '4',
                'brand' => '1',
                'model' => '89',
                'imei_or_sn' => '35090349646765856',
                'warranty_period' => null,
                'condition' => 'old',
                'stock' => 1,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => 'Blue',
                'gb' => 256,
                'visible' => 1,
                'last_updated' => '2025-03-18 16:18:58',
                'created_at' => '2025-03-09 22:52:59',
                'updated_at' => '2025-03-18 16:18:58',
                'tenant_id' => 1,
            ],
            [
                'id' => 29,
                'buy_price' => 0.25,
                'sell_price' => 0.38,
                'type' => 'Accessories',
                'name' => 'glass-12',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 50,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-03-18 16:19:05',
                'created_at' => '2025-03-09 22:53:28',
                'updated_at' => '2025-03-18 16:19:05',
                'tenant_id' => 1,
            ],
            [
                'id' => 30,
                'buy_price' => 200.00,
                'sell_price' => 300.00,
                'type' => 'Phone',
                'name' => 'NOkia s20',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 0,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-03-18 16:31:06',
                'created_at' => '2025-03-09 22:55:34',
                'updated_at' => '2025-03-18 16:31:06',
                'tenant_id' => 1,
            ],
            [
                'id' => 31,
                'buy_price' => 200.00,
                'sell_price' => 300.00,
                'type' => 'Phone',
                'name' => 'iPhone 13',
                'customer_info' => '3',
                'brand' => '1',
                'model' => '96',
                'imei_or_sn' => '12345657111111',
                'warranty_period' => null,
                'condition' => 'old',
                'stock' => 1,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => 'Rose Gold',
                'gb' => 256,
                'visible' => 1,
                'last_updated' => '2025-03-20 09:22:43',
                'created_at' => '2025-03-20 09:00:12',
                'updated_at' => '2025-03-20 09:22:43',
                'tenant_id' => 1,
            ],
            [
                'id' => 32,
                'buy_price' => 0.25,
                'sell_price' => 0.38,
                'type' => 'Accessories',
                'name' => '3D GLASS',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 100,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-03-25 18:01:58',
                'created_at' => '2025-03-25 18:01:57',
                'updated_at' => '2025-03-25 18:01:57',
                'tenant_id' => 1,
            ],
            [
                'id' => 33,
                'buy_price' => 200.00,
                'sell_price' => 300.00,
                'type' => 'Phone',
                'name' => 'Samsung Galaxy S21',
                'customer_info' => '3',
                'brand' => '2',
                'model' => '16',
                'imei_or_sn' => '35090349646765856',
                'warranty_period' => null,
                'condition' => 'old',
                'stock' => 1,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => 'Rose Gold',
                'gb' => 1024,
                'visible' => 1,
                'last_updated' => '2025-03-25 18:04:17',
                'created_at' => '2025-03-25 18:04:17',
                'updated_at' => '2025-03-25 18:04:17',
                'tenant_id' => 1,
            ],
            [
                'id' => 34,
                'buy_price' => 32432.00,
                'sell_price' => 48648.00,
                'type' => 'Repair',
                'name' => '32423234',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 1,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-04-03 19:33:34',
                'created_at' => '2025-04-03 19:33:33',
                'updated_at' => '2025-04-03 19:33:33',
                'tenant_id' => 1,
            ],
            [
                'id' => 35,
                'buy_price' => 150.00,
                'sell_price' => 225.00,
                'type' => 'Phone',
                'name' => 'iPhone 11',
                'customer_info' => '6',
                'brand' => '1',
                'model' => '82',
                'imei_or_sn' => '12345657111111',
                'warranty_period' => null,
                'condition' => 'old',
                'stock' => 0,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => 'Blue',
                'gb' => 512,
                'visible' => 1,
                'last_updated' => '2025-04-05 11:38:14',
                'created_at' => '2025-04-05 11:37:00',
                'updated_at' => '2025-04-05 11:38:14',
                'tenant_id' => 1,
            ],
            [
                'id' => 36,
                'buy_price' => 0.25,
                'sell_price' => 0.38,
                'type' => 'Accessories',
                'name' => '5G GLASS 10/10',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 99,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-04-05 11:45:47',
                'created_at' => '2025-04-05 11:44:50',
                'updated_at' => '2025-04-05 11:45:47',
                'tenant_id' => 1,
            ],
            [
                'id' => 37,
                'buy_price' => 100.00,
                'sell_price' => 150.00,
                'type' => 'Accessories',
                'name' => 'GLASS Apple X',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 1,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-04-23 10:13:50',
                'created_at' => '2025-04-23 10:13:50',
                'updated_at' => '2025-04-23 10:13:50',
                'tenant_id' => 1,
            ],
            [
                'id' => 38,
                'buy_price' => 0.25,
                'sell_price' => 0.38,
                'type' => 'Accessories',
                'name' => 'GLASS X',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 0,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-04-23 10:15:25',
                'created_at' => '2025-04-23 10:14:08',
                'updated_at' => '2025-04-23 10:15:25',
                'tenant_id' => 1,
            ],
            [
                'id' => 39,
                'buy_price' => 3.00,
                'sell_price' => 4.50,
                'type' => 'Repair',
                'name' => 'Battary X',
                'customer_info' => null,
                'brand' => null,
                'model' => null,
                'imei_or_sn' => null,
                'warranty_period' => null,
                'condition' => null,
                'stock' => 10,
                'customer_mobile' => null,
                'customer_cpr' => null,
                'customer_email' => null,
                'status' => null,
                'color' => null,
                'gb' => null,
                'visible' => 1,
                'last_updated' => '2025-04-23 10:18:05',
                'created_at' => '2025-04-23 10:14:34',
                'updated_at' => '2025-04-23 10:18:05',
                'tenant_id' => 1,
            ],
        ];

        DB::table('products')->insert($products);
    }
}
