Feature #13 : Arah Mata Angin

This commit is contained in:
Daeng Deni Mardaeni
2024-08-14 17:40:48 +07:00
parent 9b30aa033e
commit 5c380f5eb6
10 changed files with 489 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Modules\Lpj\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class ArahMataAnginRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules()
: array
{
$rules = [
'name' => 'required|max:255',
];
return $rules;
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize()
: bool
{
return true;
}
}