misc_pterodactyl-panel/app/Models/MountServer.php
2020-08-25 19:01:08 -07:00

39 lines
693 B
PHP

<?php
use Pterodactyl\Models\Mount;
use Pterodactyl\Models\Server;
use Illuminate\Database\Eloquent\Model;
class MountServer extends Model
{
/**
* @var bool
*/
public $timestamps = false;
/**
* @var bool
*/
public $incrementing = false;
/**
* @var string
*/
protected $table = 'mount_server';
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function server()
{
return $this->belongsTo(Server::class);
}
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function mount()
{
return $this->belongsTo(Mount::class);
}
}