<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class TotalReporteFinalEvaluacionAcreditacion extends Model
{
    protected $table = "ins_totalfea";
    protected $primaryKey = 'cve_totfea';
    protected $fillable = ['ta_totfea', 'tpa_totfea', 'tsa_totfea', 'tesp_totfea', 'tc_totfea', 'td_totfea', 'te_totfea', 'tf_totfea', 'tg_totfea', 'cve_repfea',];

    public function reporteFEA()
    {
        return $this->hasMany('App\ReporteFinalEvaluacionAcreditacion', 'cve_repfea', 'cve_repfea');
    }
}
