TenantAtlas/apps/platform/database/factories/TenantConfigurationSupportedScopeFactory.php
ahmido dfda397eb6 feat: migrate tcm first coverage core cutover (#481)
Automated PR provided by Codex via Gitea API.

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #481
2026-06-25 12:54:56 +00:00

34 lines
1014 B
PHP

<?php
declare(strict_types=1);
namespace Database\Factories;
use App\Models\TenantConfigurationSupportedScope;
use App\Support\TenantConfiguration\CoverageLevel;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<TenantConfigurationSupportedScope>
*/
class TenantConfigurationSupportedScopeFactory extends Factory
{
protected $model = TenantConfigurationSupportedScope::class;
public function definition(): array
{
return [
'scope_key' => fake()->unique()->slug(),
'display_name' => fake()->words(3, true),
'description' => fake()->sentence(),
'minimum_coverage_level' => CoverageLevel::ContentBacked->value,
'included_resource_types' => [],
'allow_beta' => false,
'allow_graph_fallback' => false,
'customer_claims_allowed' => false,
'is_active' => true,
'metadata' => ['factory' => 'tenant_configuration_supported_scope'],
];
}
}