Files
timebank-cc-public/database/factories/ProfileFactory.php
Ronald Huynen 2547717edb Initial commit
2026-03-23 21:37:59 +01:00

24 lines
546 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class ProfileFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'first_name' => $this->faker->firstName(),
'last_name' => $this->faker->lastName(),
'date_of_birth' => $this->faker->dateTimeBetween('-70 year', '-18 year'),
'content' => $this->faker->text(mt_rand(50, 300))
];
}
}