You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
605 B

<?php
namespace Database\Factories\Documents;
use App\Documents\ModelDocument;
use App\Documents\PolicyDocument;
use Database\Factories\BaseFactory;
use Illuminate\Database\Eloquent\Factories\Factory;
class PolicyDocumentFactory extends Factory
{
use BaseFactory;
protected $model = PolicyDocument::class;
public function definition()
{
return [
'_id' => app('nextId'),
'name' => fake()->name,
'labels' => fake()->name,
'needs' => [],
];
}
public function dependencyProvider()
{
return [];
}
}