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,16 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* نموذج طلبات السائق (DriverOrder Model)
*
* الغرض من الملف:
* تسجيل الطلبات (الرحلات) التي تم إرسالها لسائق معين وحالتها (قبول/رفض).
*
* كيفية العمل:
* 1. يرتبط بجدول (driver_orders) في قاعدة البيانات الأساسية.
* 2. يربط بين السائق (driver_id) ومعرف الرحلة (order_id).
*/
class DriverOrder extends Model {
protected $connection = 'primary';
protected $table = 'driver_orders';