Initial V2 commit 4

This commit is contained in:
Hamza-Ayed
2026-04-22 23:16:23 +03:00
parent 3269a836a2
commit 3f4afd0f5c
47 changed files with 456 additions and 72 deletions

View File

@@ -2,6 +2,17 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* نموذج موقع السيارة (CarLocation Model)
*
* الغرض من الملف:
* تتبع الموقع الجغرافي الحي للسائقين على الخريطة.
*
* كيفية العمل:
* 1. يرتبط بجدول (car_locations) في قاعدة بيانات التتبع (tracking).
* 2. يخزن خطوط الطول والعرض (Latitude & Longitude) والسرعة والاتجاه.
* 3. يستخدم لتحديث خريطة الراكب بمكان السائق في الوقت الفعلي.
*/
class CarLocation extends Model
{
protected $connection = 'tracking';