You've already forked isop-mirror
feat: add company relationship to Internship model
This commit is contained in:
@@ -39,4 +39,9 @@ class Internship extends Model
|
||||
'report_confirmed' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
public function company()
|
||||
{
|
||||
return $this->belongsTo(Company::class, 'company_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user