staffmanager/app/Application.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');
}
}