c3lf-system-3/app/Event.php

28 lines
480 B
PHP
Raw Normal View History

2019-11-15 20:59:34 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Event extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
2019-11-29 00:27:33 +00:00
'eid', 'name', 'slug', 'start', 'end', 'pre_start', 'post_end'
2019-11-15 20:59:34 +00:00
];
2019-12-15 17:06:02 +00:00
protected $primaryKey = 'eid';
2019-11-15 20:59:34 +00:00
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
2019-12-01 17:37:11 +00:00
protected $hidden = ['created_at','updated_at'];
2019-11-28 03:52:53 +00:00
}