<?php

namespace Database\Factories;

use App\Models\Business;
use App\Models\StaffProfile;
use Illuminate\Database\Eloquent\Factories\Factory;

class StaffProfileFactory extends Factory
{
    protected $model = StaffProfile::class;

    public function definition(): array
    {
        return [
            'business_id' => Business::factory(),
            'name' => fake()->name(),
            'email' => fake()->safeEmail(),
            'phone' => fake()->phoneNumber(),
            'role' => fake()->randomElement(['Stylist', 'Consultant', 'Therapist']),
            'color' => '#2563EB',
            'status' => StaffProfile::STATUS_ACTIVE,
            'availability_status' => StaffProfile::AVAILABILITY_AVAILABLE,
        ];
    }
}
