<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Notas extends Model
{
    protected $table = "notas";

    protected $fillable = [
        'nombre',
        'descripcion',
        'nota',
        'id_alumno_seccion',
        'id_detalle_curso',
        'id_seccion_curso'
    ];

    protected $guarded = ['updated_at', 'created_at'];

    public  function DetalleNota(){
        return $this->hasMany(DetalleCurso::class,'id','id_detalle_curso');
    }
}
