<?php


namespace ModulesGarden\ProxmoxAddon\App\Models;


use ModulesGarden\ProxmoxAddon\Core\Models\ExtendedEloquentModel;

/**
 * @deprecated
 */
class PrivateNetwork extends ExtendedEloquentModel
{

    /** @var string */
    protected $table = 'PrivateNetworks';
    protected $fillable = [ 'hosting_id','server_id', 'name','tag','created_at', 'updated_at'
    ];

    public function scopeOfHostingId($query, $hostingId)
    {
        return $query->where("hosting_id", $hostingId);
    }
}