<?php

namespace Database\Seeders;

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

class BrandSeeder extends Seeder
{
    public function run()
    {
        $brands = [
            ['name' => 'YSL', 'sort_order' => 1],
            ['name' => 'Chanel', 'sort_order' => 2],
            ['name' => 'Dior', 'sort_order' => 3],
            ['name' => 'Gucci', 'sort_order' => 4],
            ['name' => 'Louis Vuitton', 'sort_order' => 5],
            ['name' => 'Prada', 'sort_order' => 6],
            ['name' => 'Versace', 'sort_order' => 7],
            ['name' => 'Burberry', 'sort_order' => 8],
            ['name' => 'Dolce & Gabbana', 'sort_order' => 9],
            ['name' => 'Hermes', 'sort_order' => 10],
        ];

        foreach ($brands as $brand) {
            Brand::create([
                'name' => $brand['name'],
                'sort_order' => $brand['sort_order'],
            ]);
        }
    }
}
