<?php namespace App; use Illuminate\Database\Eloquent\Model; class Event extends Model { /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'eid', 'name', 'short_name' ]; /** * The attributes excluded from the model's JSON form. * * @var array */ protected $hidden = [];