<?php

namespace Database\Factories;

use App\Models\BaselineProfile;
use App\Models\BaselineTenantAssignment;
use App\Models\ManagedEnvironment;
use App\Models\Workspace;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends Factory<BaselineTenantAssignment>
 */
class BaselineTenantAssignmentFactory extends Factory
{
    protected $model = BaselineTenantAssignment::class;

    /**
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'workspace_id' => Workspace::factory(),
            'managed_environment_id' => ManagedEnvironment::factory(),
            'baseline_profile_id' => BaselineProfile::factory(),
            'override_scope_jsonb' => null,
            'assigned_by_user_id' => null,
        ];
    }
}
