<?php

namespace Database\Factories;

use App\Models\Tenant;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\BackupSet>
 */
class BackupSetFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'tenant_id' => Tenant::factory(),
            'name' => fake()->words(3, true),
            'created_by' => fake()->email(),
            'status' => 'completed',
            'item_count' => fake()->numberBetween(0, 100),
            'completed_at' => now(),
            'metadata' => [],
        ];
    }
}
