<?php

namespace Database\Factories\App\Modules\Clients;

use App\Modules\Clients\Customer;
use Illuminate\Database\Eloquent\Factories\Factory;

class CustomerFactory extends Factory
{
    protected $model = Customer::class;

    public function definition()
    {
        return [
            'first_name' => $this->faker->firstName,
            'last_name' => $this->faker->lastName,
            'email' => $this->faker->email,
            'date_of_birth' => $this->faker->date(),
            'phone' => $this->faker->phoneNumber,
            'phone2' => $this->faker->phoneNumber,
            'mobile' => $this->faker->phoneNumber,
            'address' => $this->faker->streetAddress,
            'address2' => $this->faker->secondaryAddress,
            'town' => $this->faker->city,
            'county' => $this->faker->state,
            'postcode' => $this->faker->postcode,
            'blind_notes' => '',
            'enable_feedback' => 1,
            'sugarcrm_id' => null,
            'flagged' => 0,
            'dynamics_id' => null,
        ];
    }
} 