misc_pterodactyl-panel/app/Models/Setting.php

21 lines
375 B
PHP
Raw Normal View History

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