modules init/deactivate, modules migrations
This commit is contained in:
@ -5,12 +5,14 @@ namespace kernel\modules\menu\models\forms;
|
||||
use kernel\FormModel;
|
||||
|
||||
/**
|
||||
* @property $parent_id
|
||||
* @property $icon_file
|
||||
* @property $icon_font
|
||||
* @property $label
|
||||
* @property $url
|
||||
* @property $status
|
||||
* @property int $parent_id
|
||||
* @property string $icon_file
|
||||
* @property string $icon_font
|
||||
* @property string $label
|
||||
* @property string $url
|
||||
* @property int $status
|
||||
* @property string $slug
|
||||
* @property string $parent_slug
|
||||
*/
|
||||
class CreateMenuForm extends FormModel
|
||||
{
|
||||
@ -22,7 +24,9 @@ class CreateMenuForm extends FormModel
|
||||
'icon_font' => '',
|
||||
'label' => 'required|min-str-len:1|max-str-len:50',
|
||||
'url' => 'required|min-str-len:1',
|
||||
'status' => ''
|
||||
'status' => '',
|
||||
'slug' => 'required|min-str-len:1|max-str-len:50',
|
||||
'parent_slug' => ''
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user