MicroFrameWork/kernel/modules/option/models/forms/CreateOptionForm.php
2024-09-23 17:03:42 +03:00

26 lines
457 B
PHP

<?php
namespace kernel\modules\option\models\forms;
use kernel\FormModel;
/**
* @property string $key
* @property string $value
* @property string $label
* @property integer $status
*/
class CreateOptionForm extends FormModel
{
public function rules(): array
{
return [
'key' => 'required|min-str-len:1|max-str-len:50',
'value' => '',
'label' => '',
'status' => ''
];
}
}