<?php

namespace Database\Seeders;

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

class BranchSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $branches = ['Cabang 1', 'Cabang 2', 'Cabang 3'];

        foreach ($branches as $branch) {
            Branch::create(['name' => $branch]);
        }
    }
}
