2017-12-15 03:05:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Models;
|
|
|
|
|
2022-11-28 16:56:03 +00:00
|
|
|
/** @property string $value */
|
2020-04-04 06:22:35 +00:00
|
|
|
class Setting extends Model
|
2017-12-15 03:05:26 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The table associated with the model.
|
|
|
|
*/
|
|
|
|
protected $table = 'settings';
|
|
|
|
|
|
|
|
public $timestamps = false;
|
|
|
|
|
|
|
|
protected $fillable = ['key', 'value'];
|
|
|
|
|
2022-10-14 16:59:20 +00:00
|
|
|
public static array $validationRules = [
|
2020-09-26 23:29:26 +00:00
|
|
|
'key' => 'required|string|between:1,191',
|
2017-12-15 03:05:26 +00:00
|
|
|
'value' => 'string',
|
|
|
|
];
|
|
|
|
}
|