created model

This commit is contained in:
Jan Felix Wiebe 2019-11-15 21:59:34 +01:00
parent 4f6a979c44
commit ab079df35d

24
app/Event.php Normal file
View file

@ -0,0 +1,24 @@
<?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 = [];