rbrecruiter/app/Form.php
Miguel Nogueira 4c6a435e34 Entrypoint: Add Application Page
This commit finally adds the dynamically rendered form that changes according to how the user builds their form.
It also fragments the header and footer for the main page into their own separate files for ease of access later.
Vacancy status has also been added to the Vacancies in DB.
All staff application endpoints have also been moved to under the user application endpoints group, for ease of use (duplicated route group).
2020-05-08 06:06:24 +01:00

22 lines
282 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Form extends Model
{
public $fillable = [
'formName',
'formStructure',
'formStatus'
];
public function vacancy()
{
return $this->hasMany('App\Vacancy');
}
}