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
630 B
31 lines
630 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($dependencyAttributes= [])
|
|
{
|
|
return [];
|
|
}
|
|
}
|