rbrecruiter/app/Form.php
Miguel Nogueira a4e415943a Add save & update functionality to positions
Tooltips also added, as well as a general configuration file for Mojang Status URL.
Relationships were also added between forms and Vacancies.
Status verification for the dashboard was moved to a Service Provider, where it adds log entries when cache expires.
Authentication controllers were also updated to reflect the new dashboard URL.
2020-05-08 00:24:56 +01:00

22 lines
299 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', 'vacancyFormID');
}
}