Initial V2 commit 4
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user