Cachet/app/Models/Setting.php
2018-06-16 17:00:27 +01:00

42 lines
781 B
PHP

<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
/**
* List of attributes that have default values.
*
* @var string[]
*/
protected $attributes = ['value' => ''];
/**
* The attributes that should be casted to native types.
*
* @var string[]
*/
protected $casts = [
'name' => 'string',
'value' => 'string',
];
/**
* The fillable properties.
*
* @var string[]
*/
protected $fillable = ['name', 'value'];
}