<?php

namespace App\Settings;

use Spatie\LaravelSettings\Settings;

class ServiceSettings extends Settings
{
    // Default Labor Rates
    public float $standard_labor_rate;
    public float $overtime_labor_rate;
    public float $weekend_labor_rate;
    public float $holiday_labor_rate;

    // Service Intervals & Reminders
    public int $oil_change_interval; // in miles
    public int $tire_rotation_interval; // in miles
    public int $brake_inspection_interval; // in miles
    public int $general_inspection_interval; // in miles
    public bool $enable_service_reminders;
    public int $reminder_advance_days;

    // Warranty Settings
    public int $default_parts_warranty_days;
    public int $default_labor_warranty_days;
    public bool $enable_extended_warranty;

    // Quality Control
    public bool $require_quality_inspection;
    public bool $require_technician_signature;
    public bool $require_customer_signature;
    public bool $enable_photo_documentation;

    // Service Categories
    public array $service_categories;
    public array $priority_levels;

    public static function group(): string
    {
        return 'service';
    }
}
