<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class AlumnosAdmision extends Model
{
    protected $table = 'dse_doc_alumnos_admision';
    protected $fillable = ["idAlumnoAdmi", "fk_idCarrera", "folio", "nombre", "ap_paterno", "ap_materno", "no_control", "fecha", "nip", "estatus", "fk_idPeriodo", "telefono", "computadora", "correo", "pago" ];
    
    // campos_disponibles_para_agregar_al_fillable 
    // "puntos", "ref", "sexo", "talla", "puntos_dos", "estatus", "correo_institucional", "pwd_correo_institucional", "curp", "nss", "img",

    protected $connection = 'planeacion';
    protected $primaryKey = 'idAlumnoAdmi';
    public $timestamps = false;

    public function carrera(){
    	return $this->hasOne('App\Carreras', 'idCarrera', 'fk_idCarrera');
		}
    
}
