staffmanager/app/Application.php

22 lines
332 B
PHP
Raw Normal View History

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