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,66 @@
<?php
namespace Modules\Booking\Database\Seeders;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class HotelTableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$hotels = [
[
'restaurant_id' => 1,
'name' => 'Sunrise Hotel',
'location' => 'Dhaka, Bangladesh',
'email' => 'info@sunrisehotel.com',
'phone' => '+880123456789',
'description' => 'A luxurious hotel with stunning sunrise views.',
'latitude' => 23.8103,
'longitude' => 90.4125,
'check_in_time' => '14:00',
'check_out_time' => '12:00',
'status' => 1,
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
],
[
'restaurant_id' => 1,
'name' => 'Moonlight Inn',
'location' => 'Chittagong, Bangladesh',
'email' => 'contact@moonlightinn.com',
'phone' => '+880987654321',
'description' => 'Comfortable stays under the moonlight.',
'latitude' => 22.3569,
'longitude' => 91.7832,
'check_in_time' => '14:00',
'check_out_time' => '12:00',
'status' => 1,
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
],
[
'restaurant_id' => 1,
'name' => 'Seaside Resort',
'location' => 'Cox\'s Bazar, Bangladesh',
'email' => 'info@seasideresort.com',
'phone' => '+880192837465',
'description' => 'Relax by the beach with scenic views.',
'latitude' => 21.4272,
'longitude' => 92.0058,
'check_in_time' => '14:00',
'check_out_time' => '12:00',
'status' => 1,
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
],
];
DB::table('hotels')->insert($hotels);
}
}