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;
/**
* نموذج مستندات السائق (DriverDocument Model)
*
* الغرض من الملف:
* إدارة الملفات والمستندات الورقية التي يرفعها السائقون (مثل رخصة القيادة، الهوية).
*
* كيفية العمل:
* 1. يرتبط بجدول (driver_documents) في قاعدة البيانات الأساسية.
* 2. يخزن نوع المستند ورابط الصورة أو الملف وتاريخ الرفع.
*/
class DriverDocument extends Model {
protected $connection = 'primary';
protected $table = 'driver_documents';