21 lines
785 B
PHP
21 lines
785 B
PHP
<?php
|
|
namespace App\Models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* نموذج التأمين الصحي للسائق (DriverHealthAssurance Model)
|
|
*
|
|
* الغرض من الملف:
|
|
* إدارة معلومات التأمين الصحي الخاصة بالسائقين.
|
|
*
|
|
* كيفية العمل:
|
|
* 1. يرتبط بجدول (driver_health_assurance) في قاعدة البيانات الأساسية.
|
|
* 2. يخزن ما إذا كان السائق مؤمناً عليه واسم شركة التأمين.
|
|
*/
|
|
class DriverHealthAssurance extends Model {
|
|
protected $connection = 'primary';
|
|
protected $table = 'driver_health_assurance';
|
|
public $timestamps = false;
|
|
protected $fillable = ['driver_id', 'assured', 'date_created', 'health_insurance_provider'];
|
|
}
|