forked from miguel456/rbrecruiter
Miguel Nogueira
a4e415943a
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.
22 lines
299 B
PHP
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');
|
|
}
|
|
}
|