Files
mtdb_movie/common/Domains/CustomDomainFactory.php
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

26 lines
597 B
PHP
Executable File

<?php
namespace Common\Domains;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class CustomDomainFactory extends Factory
{
protected $model = CustomDomain::class;
public function definition(): array
{
return [
'host' => $this->faker->unique()->domainName,
'global' => false,
'resource_id' => null,
'resource_type' => null,
'workspace_id' => 0,
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
'user_id' => 1,
];
}
}