<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Calendarizacion extends Model
{
    protected $table = "ins_caleneval";
    protected $primaryKey = 'cve_caleneval';
    protected $fillable = ['id', 'fechaIni_caleneval', 'fechaFin_caleneval', 'primerSeg_caleneval', 'segundoSeg_caleneval', 'tercerSeg_caleneval', 'status_caleneval'];

    public function periodos()
    {
        return $this->belongsTo('App\Periodos', 'id', 'id');
    }
}
