<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Paralelo extends Model
{
    use HasFactory;

    protected $table = 'paralelos';

    protected $fillable = [
        'nombre',
    ];

    public function asignacionMaterias(){
        return $this->hasMany(AsignacionMateria::class);
    }

    public function gruposAcademicos()
    {
        return $this->hasMany(Grupos_academico::class);
    }
}
