mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-19 15:45:08 +01:00
39 lines
779 B
PHP
39 lines
779 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Cachet HQ <support@cachethq.io>
|
|
*
|
|
* 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;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property string $name
|
|
* @property string $value
|
|
* @property \Carbon\Carbon $created_at
|
|
* @property \Carbon\Carbon $updated_at
|
|
*/
|
|
class Setting extends Model
|
|
{
|
|
/**
|
|
* The fillable properties.
|
|
*
|
|
* @var string[]
|
|
*/
|
|
protected $fillable = ['name', 'value'];
|
|
|
|
/**
|
|
* List of attributes that have default values.
|
|
*
|
|
* @var string[]
|
|
*/
|
|
protected $attributes = ['value' => ''];
|
|
}
|