FleetCart/Modules/Currency/Http/Requests/UpdateCurrencyRateRequest.php

29 lines
527 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Currency\Http\Requests;
use Modules\Core\Http\Requests\Request;
class UpdateCurrencyRateRequest extends Request
{
/**
* Available attributes.
*
* @var string
*/
protected $availableAttributes = 'currency::attributes';
2023-12-03 14:07:47 +00:00
2023-06-11 12:14:03 +00:00
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'rate' => 'required|numeric|max:9999',
];
}
}