<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Services\ScienerApiService;
use App\Models\ScienerDetails;
use App\Models\Beds24Details;
use App\Models\Property;
use App\Services\Beds24APIService;
use App\Services\Auomate_beds24Service;
use app\http\Livewire\Dashboard\ShowPropertyDetails;

use App\Services\Golf_Simulator;


class {{CLASS_NAME}} extends Command
{


    /**
     * The name and signature of the console command.
     *
     * @var string
     */

    protected $signature = 'app:{{COMMAND_SIGNATURE}}';


    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '{{DESCRIPTION}}';


    protected $scienerApiService;
    protected $beds24ApiService;
    protected $bookingService;


    public $PropertyID = '{{PROPERTY_ID}}';
    public $PropertyName = '{{PROPERTY_NAME}}';

    public $bookings = [];
    public $username, $password;
    public $assignedLocks = [];

    public function __construct(ScienerApiService $scienerApiService, Beds24APIService $beds24ApiService, Auomate_beds24Service $bookingService)
    {
        parent::__construct();
        $this->scienerApiService = $scienerApiService;
        $this->beds24ApiService = $beds24ApiService;
        $this->bookingService = $bookingService;
    }

    public function handle()
    {
       $Golf = new Golf_Simulator();
       $Golf->send_golf_codes($this->PropertyID);
    }
}
