feature/server-mounts initial commit

This commit is contained in:
Matthew Penner 2020-05-20 17:29:03 -06:00
parent 5dbcddc862
commit 59a150148a
5 changed files with 176 additions and 0 deletions

29
app/Models/Mount.php Normal file
View file

@ -0,0 +1,29 @@
<?php
namespace Pterodactyl\Models;
/**
* @property int $id
*/
class Mount extends Model
{
/**
* The resource name for this model when it is transformed into an
* API representation using fractal.
*/
const RESOURCE_NAME = 'mount';
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'mounts';
/**
* Fields that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id'];
}