<?php

namespace Database\Seeders;

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

class SupplierSeeder extends Seeder
{
    public function run(): void
    {
        $suppliers = [
            ['name' => 'TechDistro Inc.', 'contact_person' => 'Mike Johnson', 'phone' => '555-1001', 'email' => 'mike@techdistro.com', 'address' => '100 Tech Park, Silicon Valley', 'is_active' => true],
            ['name' => 'FashionFirst Ltd.', 'contact_person' => 'Sarah Williams', 'phone' => '555-1002', 'email' => 'sarah@fashionfirst.com', 'address' => '200 Fashion Blvd, New York', 'is_active' => true],
            ['name' => 'Global Foods Co.', 'contact_person' => 'Tom Garcia', 'phone' => '555-1003', 'email' => 'tom@globalfoods.com', 'address' => '300 Market St, Chicago', 'is_active' => true],
            ['name' => 'HomeStyle Supplies', 'contact_person' => 'Lisa Anderson', 'phone' => '555-1004', 'email' => 'lisa@homesupplies.com', 'address' => '400 Home Center, Los Angeles', 'is_active' => true],
            ['name' => 'SportsPro Wholesale', 'contact_person' => 'James Thomas', 'phone' => '555-1005', 'email' => 'james@sportspro.com', 'address' => '500 Stadium Way, Miami', 'is_active' => true],
        ];

        foreach ($suppliers as $supplier) {
            Supplier::create($supplier);
        }
    }
}
