migrate to gtea from bistbucket

This commit is contained in:
2026-03-15 17:08:23 +07:00
commit 129ca2260c
3716 changed files with 566316 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Modules\Frontend\Http\Requests\Banner;
use Illuminate\Foundation\Http\FormRequest;
class BannerStoreRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
'title' => 'required|string|max:191',
'description' => 'nullable|string|max:255',
'button_name' => 'nullable|string|max:20',
'button_link' => 'nullable|string|max:100',
'image' => 'required|image',
];
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
}

View File

@@ -0,0 +1,30 @@
<?php
namespace Modules\Frontend\Http\Requests\Banner;
use Illuminate\Foundation\Http\FormRequest;
class BannerUpdateRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
'title' => 'required|string|max:191',
'description' => 'nullable|string|max:255',
'button_name' => 'nullable|string|max:20',
'button_link' => 'nullable|string|max:100',
'image' => 'nullable|image',
];
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
}