mirror of https://github.com/Devoalda/LaDo.git
25 lines
507 B
PHP
25 lines
507 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Project>
|
|
*/
|
|
class ProjectFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->sentence(3),
|
|
'description' => $this->faker->sentence(10),
|
|
];
|
|
}
|
|
}
|