todo/database/factories/LabelFactory.php

17 lines
279 B
PHP
Raw Normal View History

2024-04-27 15:06:00 +03:00
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class LabelFactory extends Factory
{
public function definition(): array
{
return [
2024-05-02 16:54:51 +03:00
'name' => fake()->name(),
2024-05-29 16:18:46 +03:00
'project_id' => 1,
2024-04-27 15:06:00 +03:00
];
}
}