mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-26 02:52:30 +01:00
cbcf62086f
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
21 lines
375 B
PHP
21 lines
375 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Models;
|
|
|
|
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',
|
|
];
|
|
}
|