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,37 @@
<?php
namespace Modules\Frontend\Http\Requests\Onboarding;
use Illuminate\Foundation\Http\FormRequest;
class OnboardingStoreRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*/
public function rules(): array
{
return [
'restaurant_name' => 'required|string|max:100',
'restaurant_email' => 'required|email|max:255|unique:restaurants,email,except,id',
'restaurant_phone' => 'required|string|max:15|unique:restaurants,phone,except,id',
'restaurant_domain' => 'nullable|string|max:100|unique:restaurants,domain,except,id',
'restaurant_type' => 'nullable|string|max:100',
'restaurant_address' => 'nullable|string|max:100',
'restaurant_logo' => 'nullable|image|mimes:jpeg,png,jpg,gif|max:2048',
'name' => 'required|string|max:100',
'email' => 'required|email|max:255|unique:users,email,except,id',
'phone' => 'required|string|max:50',
'password' => 'required|string|min:6',
'avatar' => 'nullable|image|mimes:jpeg,png,jpg,gif|max:2048',
];
}
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
}