<?php

namespace Database\Seeders;

use App\Models\SoftwareBranding;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CreateSoftwareBrandingSeeder extends Seeder
{




    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // if (\App::environment('local')) {
        //     SoftwareBranding::truncate();
        // }

        $software = [
            [
			'company_name'   => 'Meta Mint Private Limited',
			'sales_email'    => 'metamin@sales.com',
			'support_email'  => 'metamin@support.com',
            'email'          => 'info@metamintindia.com',
			'sales_number'   => '9366744376',
			'support_number' => '9774515847',
			'website'        => 'https://www.metamintindia.com/',
			'facebook'       => 'www.facebook.com/meta-mint',
			'twitter'        => 'www.twitter.com/meta-mint',
			'linkedin'       => 'https://www.linkedin.com/company/meta-mint',
			'sale_info'      => '',
			'support_info'   => '',
			'social_info'    => '',
			'company_logo'   => '',
			'status'         => 1,
            'youtube'        => 'https://www.youtube.com/@metamintindia',
            'instagram'      => '',
            'whatsapp_number'=> '9774515847'
            ],
        ];
        foreach ($software as $data) {
            SoftwareBranding::firstOrCreate(
                [
                    'company_name' => $data['company_name'],
                    'sales_email' => $data['sales_email']
                ],
                $data
            );
        }
    }
}


