1 | <?php |
||
28 | class MeetingTimeslot extends Model |
||
29 | { |
||
30 | /** |
||
31 | * The attributes that are mass assignable. |
||
32 | * |
||
33 | * @var array |
||
34 | */ |
||
35 | protected $fillable = ['time_start', 'time_end']; |
||
36 | |||
37 | /** |
||
38 | * The attributes excluded from the model's JSON form. |
||
39 | * |
||
40 | * @var array |
||
41 | */ |
||
42 | protected $hidden = ['pivot', 'meeting']; |
||
43 | |||
44 | /** |
||
45 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
46 | */ |
||
47 | 22 | public function meeting() |
|
51 | } |
||
52 |