| 1 | <?php namespace WITR; |
||
| 5 | class TimeSlot extends Model { |
||
| 6 | |||
| 7 | protected $table = 'schedule'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * The attributes that are mass assignable. |
||
| 11 | * |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $fillable = ['dj', 'show', 'day', 'hour']; |
||
| 15 | |||
| 16 | public $timestamps = false; |
||
| 17 | |||
| 18 | public function djForTimeslot() |
||
| 22 | |||
| 23 | public function showForTimeslot() |
||
| 27 | } |
||
| 28 |