<?php

namespace App\Settings;

use Spatie\LaravelSettings\Settings;

class GeneralSettings extends Settings
{
    // Business Information
    public string $shop_name;
    public string $shop_address;
    public string $shop_city;
    public string $shop_state;
    public string $shop_zip_code;
    public string $shop_phone;
    public string $shop_email;
    public ?string $shop_website;
    public ?string $shop_logo;

    // Business Hours
    public array $business_hours;
    public array $holiday_hours;
    public bool $is_open_weekends;

    // Tax & Financial Settings
    public float $default_tax_rate;
    public string $currency;
    public string $currency_symbol;

    // System Settings
    public string $timezone;
    public string $date_format;
    public string $time_format;
    public bool $enable_notifications;
    public bool $enable_sms_notifications;
    public bool $enable_email_notifications;

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