%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/camillo/camillo-api-master/app/Models/Pivots/
Upload File :
Create Path :
Current File : /var/www/html/camillo/camillo-api-master/app/Models/Pivots/ClassroomMinor.php

<?php namespace App\Models\Pivots;

use App\Models\Classroom;
use App\Models\Minor;
use Illuminate\Database\Eloquent\Relations\Pivot;

class ClassroomMinor extends Pivot
{
    protected $fillable = [
        'active',
        'arrival_time'
    ];

    public function minor()
    {
        return $this->belongsTo(Minor::class);
    }

    public function classroom()
    {
        return $this->belongsTo(Classroom::class);
    }
}

Zerion Mini Shell 1.0