Initial V2 commit 4
This commit is contained in:
@@ -2,6 +2,16 @@
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* نموذج تقييم السائق (RatingDriver Model)
|
||||
*
|
||||
* الغرض من الملف:
|
||||
* تخزين التقييمات والتعليقات التي يتركها الركاب للسائقين بعد انتهاء الرحلة.
|
||||
*
|
||||
* كيفية العمل:
|
||||
* 1. يرتبط بجدول (ratingDriver) في قاعدة البيانات الأساسية.
|
||||
* 2. يربط التقييم بالراكب والسائق والرحلة المعنية.
|
||||
*/
|
||||
class RatingDriver extends Model {
|
||||
protected $connection = 'primary';
|
||||
protected $table = 'ratingDriver';
|
||||
|
||||
Reference in New Issue
Block a user