<?php

namespace licenseplaterecognizer;
require_once WD . '/modules/licenseplaterecognizer/config/licenseplaterecognizer_enabled_c.php';
require_once WD . '/modules/licenseplaterecognizer/config/licenseplaterecognizer_api_key_c.php';

use licenseplaterecognizer\config\licenseplaterecognizer_enabled_c;
use licenseplaterecognizer\config\licenseplaterecognizer_api_key_c;
use traits\module_config_t;

class licenseplaterecognizer_c
{
    use module_config_t;

    /**
     * The status of licenseplaterecognizer, whether it is enabled or not
     * @var licenseplaterecognizer_enabled_c
     */
    public licenseplaterecognizer_enabled_c $enabled;
    /**
     * The API key for licenseplaterecognizer
     * @var licenseplaterecognizer_api_key_c
     */
    public licenseplaterecognizer_api_key_c $api_key;

    public function __construct()
    {
        $this->setupConfig('licenseplaterecognizer');
        $this->allowUpdate([
            licenseplaterecognizer_enabled_c::class,
            licenseplaterecognizer_api_key_c::class,
        ]);
        $this->enabled = new licenseplaterecognizer_enabled_c();
        $this->api_key = new licenseplaterecognizer_api_key_c();
    }
}