firstcommit

This commit is contained in:
2025-08-17 16:23:14 +05:45
commit 76bf4c0a18
2648 changed files with 362795 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
<?php
namespace Modules\Consultation\database\seeders;
use Illuminate\Support\Str;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class ConsultationDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$consultations = [
[
'uuid' => Str::uuid(),
'name' => 'John Doe',
'email' => 'john@example.com',
'contact_no' => '9846325698',
'age_group' => 2,
'procedure_of_interest' => 1,
'subject' => 'Hair Consultation',
'message' => 'I\'m interested in hair...',
'is_aggrement' => 11,
'created_at' => now(),
'updated_at' => now(),
],
[
'uuid' => Str::uuid(),
'name' => 'Hari Sharma',
'email' => 'hari@example.com',
'contact_no' => '9846325120',
'age_group' => 3,
'procedure_of_interest' => 2,
'subject' => 'Beard Consultation',
'message' => 'I\'m interested in beard traspalant...',
'is_aggrement' => 11,
'created_at' => now(),
'updated_at' => now(),
], [
'uuid' => Str::uuid(),
'name' => 'Gita Shrestha',
'email' => 'gita@example.com',
'contact_no' => '9813652365',
'age_group' => 1,
'procedure_of_interest' => 3,
'subject' => 'Here is where you can register web routes for your application. These routes are loaded by the
RouteServiceProvider within a group which contains the "web" middleware group. Now create something great!',
'message' => 'I\'m interested in eyebrow transpalant.',
'is_aggrement' => 10,
'created_at' => now(),
'updated_at' => now(),
],
];
DB::table('consultations')->insert($consultations);
}
}