todo/database/factories/NoteFactory.php

19 lines
358 B
PHP
Raw Normal View History

2024-04-27 15:14:55 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class NoteFactory extends Factory
{
public function definition(): array
{
return [
2024-05-02 16:54:51 +03:00
'name' => fake()->name(),
'file' => fake()->name(),
'description' => fake()->text(),
'task_id' => 1,
2024-04-27 15:14:55 +03:00
];
}
}