30 lines
577 B
PHP
30 lines
577 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class GeneralSettings extends Settings
|
|
{
|
|
public string $gallery_heading = 'Style Gallery';
|
|
|
|
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';
|
|
}
|
|
}
|