<?php

namespace ModulesGarden\OpenXchangeAddon\Core\Models\ModuleSettings;

use \ModulesGarden\OpenXchangeAddon\Core\Models\ExtendedEloquentModel;

/**
 * Description of ModuleSettings
 * 
 * @var varchar(255) setting
 * @var text value
 * 
 * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
 */
class Model extends ExtendedEloquentModel
{
    /**
     * Table name
     *
     * @var string
     */
    protected $table = 'ModuleSettings';
    
    protected $primaryKey = 'setting';

    /**
     * Eloquent guarded parameters
     * @var array
     */
    protected $guarded = ['setting'];

    /**
     * Eloquent fillable parameters
     * @var array
     */
    protected $fillable = ['setting', 'value'];

    /**
     * Indicates if the model should soft delete.
     *
     * @var bool
     */
    protected $softDelete = false;

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;
}
