feat: add company relationship to Internship model

This commit is contained in:
2025-11-03 20:44:46 +01:00
parent ec463c98b0
commit ee3418e658

View File

@@ -39,4 +39,9 @@ class Internship extends Model
'report_confirmed' => 'boolean',
];
}
public function company()
{
return $this->belongsTo(Company::class, 'company_id');
}
}