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