Really basic initial implementation of service management
This commit is contained in:
parent
5500dcc4d5
commit
ad5e253a07
13 changed files with 705 additions and 0 deletions
|
@ -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'];
|
||||
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue