2020-04-29 17:15:54 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class Application extends Model
|
|
|
|
{
|
2020-05-08 07:10:25 +00:00
|
|
|
public $fillable = [
|
|
|
|
|
|
|
|
'applicantUserID',
|
|
|
|
'applicantFormResponseID',
|
|
|
|
'applicantStatus'
|
|
|
|
|
|
|
|
];
|
2020-05-11 15:44:47 +00:00
|
|
|
|
|
|
|
public function user()
|
|
|
|
{
|
|
|
|
return $this->belongsTo('App\User', 'applicantUserID', 'id');
|
|
|
|
}
|
2020-04-29 17:15:54 +00:00
|
|
|
}
|