for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace plunner;
use Illuminate\Database\Eloquent\Model;
/**
* Class MeetingTimeslot
*
* @author Claudio Cardinale <[email protected]>
* @copyright 2015 Claudio Cardinale
* @version 1.0.0
* @package plunner
* @property integer $id
* @property string $time_start
* @property string $time_end
* @property integer $meeting_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property-read \plunner\Meeting $meeting
*/
class MeetingTimeslot extends Model
{
* The attributes that are mass assignable.
* @var array
protected $fillable = ['time_start', 'time_end'];
* The attributes excluded from the model's JSON form.
protected $hidden = ['pivot', 'meeting'];
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
public function meeting()
return $this->belongsTo('plunner\Meeting');
}