22 lines
379 B
PHP
22 lines
379 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Common;
|
|
|
|
use App\Abstracts\Http\FormRequest;
|
|
|
|
class ItemTax extends FormRequest
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'item_id' => 'required|integer',
|
|
'tax_id' => 'required|integer',
|
|
];
|
|
}
|
|
}
|