<?php

use Faker\Generator as Faker;

$factory->define(App\Models\Sales\Salesperson::class, function (Faker $faker) {

    return [
        'created_uid' => null,
        'updated_uid' => null,
        'name' => $faker->name,
        'email' => $faker->unique()->safeEmail,
        'phone' => $faker->phoneNumber,
        'comission_percent' => 0,
        'sort_order' => 0,
        'status' => $faker->randomElement([0,1]),
    ];
});
