<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class EvaluacionAlumno extends Model
{
    protected $table = 'gtv_evaluacionalumno';
    protected $primaryKey = 'id_evaalu';
    protected $fillable = [
      	'id_evaalu', 'num_evaalu', 'firma_evaalu', 'califinal_evaalu', 'nivel_evaalu', 'observacion_evaalu', 'status_evaalu', 'tipo_evaalu', 'id_alu'
    ];

    public function renglones(){
    	return $this->hasMany('App\ReporteEvaluacion', 'id_evaalu', 'id_evaalu');
    }
}
