<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\ConsultingRequest;
use Faker\Generator as Faker;

$factory->define(ConsultingRequest::class, function (Faker $faker) {
    return [
        'status' => $faker->randomElement(['active', 'finished']),
        'pay_way' => $faker->randomElement(['stc_pay', 'apple_pay', 'visa_master', 'mada']),
        'coupon_id' => $faker->randomElement(\App\Coupon::pluck('id')->toArray()),
        'consulting_type' => $faker->randomElement(['urgent', 'appointment']),
        'consulting_way' => $faker->randomElement(['phone', 'zoom', 'office']),
        'consulting_subject' => $faker->text(400),
    ];
});
