forked from miguel456/rbrecruiter
22 lines
332 B
PHP
22 lines
332 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Application extends Model
|
|
{
|
|
public $fillable = [
|
|
|
|
'applicantUserID',
|
|
'applicantFormResponseID',
|
|
'applicantStatus'
|
|
|
|
];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('App\User', 'applicantUserID', 'id');
|
|
}
|
|
}
|