firstcommit

This commit is contained in:
2025-08-17 16:23:14 +05:45
commit 76bf4c0a18
2648 changed files with 362795 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Modules\Activity\app\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class CreateActivityRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
'name' => 'required',
'status' => 'required',
'image' => 'sometimes|nullable|image|mimes:jpeg,png,jpg,gif',
];
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
}