<?php

namespace Database\Seeders;

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

class DistrictSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        $districts = [
            'Badin',
            'Sujawal',
            'Thatta',
            'Dadu',
            'Hyderabad',
            'Jamshoro',
            'Matiari',
            'Tando Allahyar',
            'Tando Muhammad Khan',
            'Karachi (Central)',
            'Karachi (East)',
            'Karachi (South)',
            'Karachi (West)',
            'Karachi (Keamari)',
            'Karachi (Korangi)',
            'Karachi (Malir)',
            'Jacobabad',
            'Kashmore @ Kandhkot',
            'Larkana',
            'Qambar Shahdadkot',
            'Shikarpur',
            'MirpurKhas',
            'Tharparkar',
            'Umerkot',
            'Naushahro Feroze',
            'Sanghar',
            'Shaheed BenazirAbad',
            'Ghotki',
            'Khairpur',
            'Sukkur'
        ];

        foreach ($districts as $district) {
            District::create(['name' => $district]);
        }
    }
}
