Files
sam-api/app/Http/Requests/ItemMaster/UnitOptionStoreRequest.php

22 lines
392 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Requests\ItemMaster;
use Illuminate\Foundation\Http\FormRequest;
class UnitOptionStoreRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'label' => 'required|string|max:100',
'value' => 'required|string|max:50',
];
}
}