<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\Testimonial;

class TestimonialSeeder extends Seeder
{
    public function run(): void
    {
        $testimonials = [
            [
                'client_name' => 'Kwame Mensah',
                'client_company' => 'Elite Furniture Ltd',
                'client_position' => 'Managing Director',
                'testimonial' => 'H&M Timber has been our trusted supplier for over 3 years. Their quality MDF and melamine boards are exceptional, and their cutting service saves us so much time. Highly recommended!',
                'rating' => 5,
                'is_active' => true,
                'order' => 1,
            ],
            [
                'client_name' => 'Ama Owusu',
                'client_company' => 'Desimone Ltd',
                'client_position' => 'Procurement Manager',
                'testimonial' => 'The best timber supplier in Ghana! Their marine plywood quality is unmatched, and delivery is always on time. H&M has never disappointed us.',
                'rating' => 5,
                'is_active' => true,
                'order' => 2,
            ],
            [
                'client_name' => 'David Antwi',
                'client_company' => 'Presidential Villas',
                'client_position' => 'Construction Manager',
                'testimonial' => 'We have used H&M products on multiple construction projects. The OSB and marine plywood meet international standards. Great customer service too!',
                'rating' => 5,
                'is_active' => true,
                'order' => 3,
            ],
            [
                'client_name' => 'Sarah Boateng',
                'client_company' => 'Krane Construction',
                'client_position' => 'Project Director',
                'testimonial' => 'Professional service from start to finish. H&M\'s technical team helped us select the right materials for our project, and the quality exceeded expectations.',
                'rating' => 5,
                'is_active' => true,
                'order' => 4,
            ],
            [
                'client_name' => 'Michael Asare',
                'client_company' => 'Jan de Nul Ghana',
                'client_position' => 'Operations Manager',
                'testimonial' => 'Reliable supplier with competitive prices. Their wholesale rates and credit terms make them ideal for large-scale projects. Keep up the good work!',
                'rating' => 5,
                'is_active' => true,
                'order' => 5,
            ],
        ];

        foreach ($testimonials as $testimonial) {
            Testimonial::create($testimonial);
        }
    }
}