WelcomeItemSeeder.php 1.1 KB

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Database\Seeders;
  3. use Illuminate\Database\Console\Seeds\WithoutModelEvents;
  4. use Illuminate\Database\Seeder;
  5. use App\Models\WelcomeItem;
  6. class WelcomeItemSeeder extends Seeder
  7. {
  8. /**
  9. * Run the database seeds.
  10. */
  11. public function run(): void
  12. {
  13. $obj = new WelcomeItem;
  14. $obj->heading = "Welcome to TripSummit";
  15. $obj->description = "At TripSummit, our mission is to turn travel dreams into reality by providing personalized and memorable experiences. We leverage our expertise and trusted partners to ensure every trip is seamless and enjoyable. <br>We believe travel fosters personal growth and cultural understanding. Our goal is to help clients explore new destinations and connect with diverse cultures. We promote sustainable travel to positively impact communities and preserve our planet’s beauty. ";
  16. $obj->button_text = "Read More";
  17. $obj->button_link = "#";
  18. $obj->photo = "about-1.jpg";
  19. $obj->video = "S4DI3Bve_bQ";
  20. $obj->status = "Show";
  21. $obj->save();
  22. }
  23. }