<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Registro;

class Cirujano extends Model
{
    use HasFactory;
    protected $fillable = [
        'id',
        'documento',
        'nombre',
        'apellidos',
        'genero',
        'activo'
    ];

    //Registro
    public function registros()
    {
        return $this->hasMany(Registro::class);
    }


}
