- add notes

This commit is contained in:
2023-08-07 01:30:38 +02:00
parent ffee3b257d
commit fcf422678c
13 changed files with 486 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class NoteRequest extends FormRequest
{
public function rules(): array
{
return [
'title' => 'required|string|min:3|max:250',
'note' => 'required|string|min:3|max:1000',
];
}
}