<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
// use App\Models\Consultorios;

class Doctores extends Model
{
    
    protected $table = "users";

    protected $fillable = [

        'name' , 'email' , 'password' , 'id_consultorio', 'sexo' , 'documento' , 'telefono' , 'rol'

    ];

    public $timestamps = false;


    public function CON()
    {

        return $this->belongsTo(Consultorios::class,'id_consultorio');

    }

}
