Init(Core): Change repo
This commit is contained in:
24
app/Http/Requests/admin/CreateVersionStore.php
Normal file
24
app/Http/Requests/admin/CreateVersionStore.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\admin;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class CreateVersionStore extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'code' => 'required',
|
||||
'number' => 'required',
|
||||
'log' => 'required',
|
||||
'force_update' => 'nullable',
|
||||
'type' => 'required'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user