photo module

This commit is contained in:
stasbilay02 committed 2024-11-29 13:23:48 +03:00
1 parent e7a20d9b97
commit 3ef1e7d7e0
17 files changed
+464 -71

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<?php
namespace kernel\app_modules\photo\models\form;
use kernel\FormModel;
class CreatePhotoForm extends FormModel
{
public function rules(): array
{
return [
'image' => 'required',
'entity' => 'required|string',
'entity_id' => 'required|integer|min:1',
];
}
}