mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
21 lines
402 B
PHP
Executable File
21 lines
402 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Enums\DatabaseStatus;
|
|
use App\Models\Database;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class DatabaseFactory extends Factory
|
|
{
|
|
protected $model = Database::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'name' => $this->faker->userName,
|
|
'status' => DatabaseStatus::READY,
|
|
];
|
|
}
|
|
}
|