radfusion/database/factories/InstituteFactory.php
2024-12-28 17:59:13 +06:00

23 lines
495 B
PHP

<?php
namespace Database\Factories;
use App\Models\Institute;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class InstituteFactory extends Factory
{
protected $model = Institute::class;
public function definition(): array
{
return [
'name' => $this->faker->name(),
'is_active' => $this->faker->boolean(),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
];
}
}