2020-04-29 17:15:54 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class Form extends Model
|
|
|
|
{
|
2020-05-06 04:42:55 +00:00
|
|
|
public $fillable = [
|
|
|
|
|
|
|
|
'formName',
|
|
|
|
'formStructure',
|
|
|
|
'formStatus'
|
|
|
|
|
|
|
|
];
|
2020-05-07 23:24:56 +00:00
|
|
|
|
|
|
|
public function vacancy()
|
|
|
|
{
|
|
|
|
return $this->hasMany('App\Vacancy', 'vacancyFormID');
|
|
|
|
}
|
2020-04-29 17:15:54 +00:00
|
|
|
}
|