misbar-backend/database/factories/AdminFactory.php
Moaz Dawalibi 44bff06c03 done
2024-07-03 11:28:16 +03:00

25 lines
485 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class AdminFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*/
protected $model = \App\Models\Admin::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'email' => $this->faker->email(),
'password' => $this->faker->password(),
];
}
}