feat: add provider model and bridging schemas

This commit is contained in:
2026-05-14 15:57:40 +07:00
parent f343f31075
commit 4027d6f687
4 changed files with 173 additions and 0 deletions

View File

@@ -272,6 +272,11 @@ class RequestLog extends Model
return $this->belongsTo(Service::class, 'service_code', 'code');
}
public function plan()
{
return $this->belongsTo(Plan::class, 'plan_id');
}
public function requestLogBenefits()
{
return $this->hasMany(RequestLogBenefit::class, 'request_log_id');