<?php

namespace Database\Seeders;

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

class CustomerSeeder extends Seeder
{
    public function run(): void
    {
        $customers = [
            ['name' => 'John Smith', 'phone' => '555-0101', 'email' => 'john.smith@email.com', 'address' => '123 Main St, City', 'is_active' => true],
            ['name' => 'Jane Doe', 'phone' => '555-0102', 'email' => 'jane.doe@email.com', 'address' => '456 Oak Ave, Town', 'is_active' => true],
            ['name' => 'Bob Wilson', 'phone' => '555-0103', 'email' => 'bob.wilson@email.com', 'address' => '789 Pine Rd, Village', 'is_active' => true],
            ['name' => 'Alice Brown', 'phone' => '555-0104', 'email' => 'alice.brown@email.com', 'address' => '321 Elm St, City', 'is_active' => true],
            ['name' => 'Charlie Davis', 'phone' => '555-0105', 'email' => 'charlie.davis@email.com', 'address' => '654 Maple Dr, Town', 'is_active' => true],
            ['name' => 'Eva Martinez', 'phone' => '555-0106', 'email' => 'eva.martinez@email.com', 'address' => '987 Cedar Ln, Village', 'is_active' => true],
            ['name' => 'Frank Johnson', 'phone' => '555-0107', 'email' => 'frank.johnson@email.com', 'address' => '147 Birch Ct, City', 'is_active' => true],
            ['name' => 'Grace Lee', 'phone' => '555-0108', 'email' => 'grace.lee@email.com', 'address' => '258 Walnut Way, Town', 'is_active' => true],
            ['name' => 'Henry Taylor', 'phone' => '555-0109', 'email' => 'henry.taylor@email.com', 'address' => '369 Spruce St, Village', 'is_active' => true],
            ['name' => 'Ivy Chen', 'phone' => '555-0110', 'email' => 'ivy.chen@email.com', 'address' => '741 Ash Ave, City', 'is_active' => true],
        ];

        foreach ($customers as $customer) {
            Customer::create($customer);
        }
    }
}
