<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class BranchSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        \App\Models\Branch::create([
            'name' => 'Cabang Pusat',
            'address' => 'Jl. Raya Utama No. 123, Jakarta',
            'phone' => '021-12345678',
            'is_active' => true,
        ]);

        \App\Models\Branch::create([
            'name' => 'Cabang Bekasi',
            'address' => 'Jl. Bekasi Raya No. 456, Bekasi',
            'phone' => '021-87654321',
            'is_active' => true,
        ]);
    }
}
