first commit

This commit is contained in:
2026-06-16 10:45:41 +07:00
commit ccecc0bc6b
144 changed files with 124547 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
namespace App\Console\Commands;
use App\Services\DataRetrievalService;
use Illuminate\Console\Command;
class fetchSourceData extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:fetch-source-data';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Retrieve surveillance data from source database';
protected $dataRetrievalService;
public function __construct()
{
$this->dataRetrievalService = new DataRetrievalService();
parent::__construct();
}
/**
* Execute the console command.
*/
public function handle()
{
$this->dataRetrievalService->getSurveillanceData();
}
}