<?php

namespace App\Models;

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

class Intervencion extends Model
{
    use HasFactory;
    protected $fillable = [
        'id',
        'nombre',
        'activo',
        'clinica_id'
    ];

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