<?php

namespace App\Master\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Stancl\Tenancy\Database\Concerns\CentralConnection;

class ApiUserRoute extends Model
{
    use CentralConnection;

    protected $fillable = [
        'api_user_id',
        'route_name',
    ];

    public function apiUser(): BelongsTo
    {
        return $this->belongsTo(ApiUser::class);
    }
}
