misc_pterodactyl-panel/app/Models/Setting.php
Matthew Penner cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

20 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',
];
}