<?php

namespace App\Settings;

use DateTimeInterface;
use Spatie\LaravelSettings\Settings;

class GeneralSettings extends Settings
{
    public string $gallery_heading = 'Style Gallery';

    public bool $require_gallery_password = false;

    public ?string $gallery_password_hash = null;

    public ?DateTimeInterface $gallery_expires_at = null;

    public ?int $gallery_access_duration_minutes = null;

    public int $new_image_timespan_minutes = 60;

    public int $image_refresh_interval = 30_000;

    public int $max_number_of_copies = 3;

    public bool $show_print_button = true;

    public ?string $selected_printer = null;

    public ?string $custom_printer_address = null;

    public ?int $default_style_id = null;

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