feat: implement email notification for internship status updates and add missing student relationship

This commit is contained in:
2025-11-06 11:04:08 +01:00
parent 9a69cf0ab3
commit c030ac8971
5 changed files with 114 additions and 0 deletions

View File

@@ -40,6 +40,11 @@ class Internship extends Model
];
}
public function student()
{
return $this->belongsTo(User::class, 'user_id');
}
public function company()
{
return $this->belongsTo(Company::class, 'company_id');