<?php

namespace App\Models;

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

class ContenidoWeb extends Model
{
    use HasFactory;
    protected $table = 'contenidoswebs';
    
    protected $fillable = [
        'quienessomos',
    ];

    public function ubicaciones() 
    {
        return $this->hasMany(Ubicacion::class, 'contenidoweb_id', 'id');
    }
}
