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()
|
|
|
|
{
|
2020-05-08 05:06:24 +00:00
|
|
|
return $this->hasMany('App\Vacancy');
|
2020-05-07 23:24:56 +00:00
|
|
|
}
|
2020-04-29 17:15:54 +00:00
|
|
|
}
|