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

2 years ago
  1. <?php
  2. namespace Database\Factories\Documents;
  3. use App\Documents\ModelDocument;
  4. use App\Documents\PolicyDocument;
  5. use Illuminate\Database\Eloquent\Factories\Factory;
  6. class PolicyDocumentFactory extends Factory
  7. {
  8. protected $model = PolicyDocument::class;
  9. public function definition()
  10. {
  11. return [
  12. '_id' => app('nextId'),
  13. 'name' => fake()->name,
  14. 'labels' => fake()->name,
  15. 'needs' => [],
  16. ];
  17. }
  18. }