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.
22 lines
473 B
22 lines
473 B
<?php
|
|
|
|
namespace Database\Factories\Documents;
|
|
|
|
use App\Documents\ModelDocument;
|
|
use App\Documents\PolicyDocument;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class PolicyDocumentFactory extends Factory
|
|
{
|
|
protected $model = PolicyDocument::class;
|
|
|
|
public function definition()
|
|
{
|
|
return [
|
|
'_id' => app('nextId'),
|
|
'name' => fake()->name,
|
|
'labels' => fake()->name,
|
|
'needs' => [],
|
|
];
|
|
}
|
|
}
|