database/factories/EntityFactory.php
<?php
/**
* @var \Illuminate\Database\Eloquent\Factory $factory
*/
use Faker\Generator as Faker;
use IFRS\Models\Entity;
$factory->define(
Entity::class,
function (Faker $faker) {
return [
'name' => $faker->company,
'multi_currency' => $faker->boolean(),
];
}
);