1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 09:32:29 +01:00
Pterodactyl-Panel/app/Models/Setting.php

32 lines
500 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Models;
class Setting extends Validable
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'settings';
/**
* @var bool
*/
public $timestamps = false;
/**
* @var array
*/
protected $fillable = ['key', 'value'];
/**
* @var array
*/
public static $validationRules = [
'key' => 'required|string|between:1,255',
'value' => 'string',
];
}