<?php

namespace App\Models;

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

class Ubicacion extends Model
{
    use HasFactory;
    protected $table = 'ubicaciones';
    
    protected $fillable = [
        'link',
    ];

    public function contenidoweb() 
    {
        return $this->belongsTo(ContenidoWeb::class, 'contenidoweb_id','id');
    }
}
