27 lines
490 B
PHP
27 lines
490 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Models;
|
|
|
|
/**
|
|
* Pterodactyl\Models\Setting.
|
|
*
|
|
* @property int $id
|
|
* @property string $key
|
|
* @property string $value
|
|
*/
|
|
class Setting extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected $table = 'settings';
|
|
|
|
public $timestamps = false;
|
|
|
|
protected $fillable = ['key', 'value'];
|
|
|
|
public static array $validationRules = [
|
|
'key' => 'required|string|between:1,191',
|
|
'value' => 'string',
|
|
];
|
|
}
|