<?php namespace App; use Illuminate\Database\Eloquent\Model; class trainingsFirefighters extends Model { protected $primaryKey = 'id'; protected $table = 'trainingsFirefighters'; protected $fillable = ['trainingID', 'firefighterID', 'dateOfComplete', 'dateOfExpiry', 'lifetime']; }