<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Planestudios extends Model
{
    protected $table = "ins_planest";
    protected $primaryKey = 'cve_planest';
    protected $fillable = ['claveOfi_planest', 'iduni_planest', 'nombre_planest', 'reticula_planest', 'nivesc_planest', 'modalidad_planest', 'status_planest', 'id'];

    public function carrera()
    {
        return $this->hasOne('App\Carrera', 'id', 'id');
    }
}
