<?php


use App\Demand;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;

/** @var Factory $factory */
$factory->define(Demand::class, function (Faker $faker) {
    return [
        'authority_id' => rand(1,10),
        'initiator' => rand(1,10),
        'description'=> $faker->text(30),
        'type' =>rand(0,1),
        'status' => rand(0,2),
        'handler' => rand(1,10)
    ];
});
