<?php

namespace App\Models;

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

class Asistencia extends Model
{
    use HasFactory;

    public function grupoAcademico()
    {
        return $this->belongsTo(Grupos_academico::class);
    }

    public function detalleAsistencias()
    {
        return $this->hasMany(AsistenciaEstudiante::class);
    }
}
