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,25 @@
<?php
namespace Modules\Restaurant\Http\Requests\Customer;
use Illuminate\Foundation\Http\FormRequest;
class CustomerStoreRequest extends FormRequest
{
public function rules(): array
{
return [
'name' => 'required|string|max:255',
'email' => 'nullable|email|max:255',
'phone' => 'nullable|string|max:20',
'address' => 'nullable|string|max:255',
'avatar' => 'nullable|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
'status' => 'nullable|boolean',
];
}
public function authorize(): bool
{
return true;
}
}

View File

@@ -0,0 +1,25 @@
<?php
namespace Modules\Restaurant\Http\Requests\Customer;
use Illuminate\Foundation\Http\FormRequest;
class CustomerUpdateRequest extends FormRequest
{
public function rules(): array
{
return [
'name' => 'required|string|max:255',
'email' => 'nullable|email|max:255',
'phone' => 'nullable|string|max:20',
'address' => 'nullable|string|max:255',
'avatar' => 'nullable|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
'status' => 'nullable|boolean',
];
}
public function authorize(): bool
{
return true;
}
}