Add models for service databases

This commit is contained in:
Dane Everitt 2015-12-08 18:33:33 -05:00
parent 8397dbc62c
commit e77cea6f99
4 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServerVariables extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'server_variables';
}

17
app/Models/Service.php Normal file
View file

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class Service extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'services';
}

View file

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceOptions extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'service_options';
}

View file

@ -0,0 +1,17 @@
<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceVariables extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'service_variables';
}