Really basic initial implementation of service management

This commit is contained in:
Dane Everitt 2016-02-15 15:21:28 -05:00
parent 5500dcc4d5
commit ad5e253a07
13 changed files with 705 additions and 0 deletions

View file

@ -35,4 +35,11 @@ class Service extends Model
*/
protected $table = 'services';
/**
* Fields that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id', 'created_at', 'updated_at'];
}

View file

@ -35,6 +35,13 @@ class ServiceOptions extends Model
*/
protected $table = 'service_options';
/**
* Fields that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id', 'created_at', 'updated_at'];
/**
* Cast values to correct type.
*

View file

@ -35,6 +35,13 @@ class ServiceVariables extends Model
*/
protected $table = 'service_variables';
/**
* Fields that are not mass assignable.
*
* @var array
*/
protected $guarded = ['id', 'created_at', 'updated_at'];
/**
* Cast values to correct type.
*