<?php

namespace Database\Seeders;

use App\Models\Cliente;
use App\Models\Company;
use Illuminate\Database\Seeder;

class ClienteSeeder extends Seeder
{
    public function run()
    {
        $company = Company::first();

        Cliente::create([
            'company_id' => $company->id,
            'nombre' => 'Comercial Martínez S.A.',
            'email' => 'ventas@martinez.com',
            'telefono' => '5512345678',
            'direccion' => 'Av. Reforma 123, CDMX',
        ]);

        Cliente::create([
            'company_id' => $company->id,
            'nombre' => 'Distribuidora López',
            'email' => 'contacto@lopez.mx',
            'telefono' => '5587654321',
            'direccion' => 'Guadalajara, Jalisco',
        ]);
    }
}
