<?php

namespace Database\Seeders;

use Base\Tables\ControllerNamespace;
use Illuminate\Database\Seeder;

class NamespaceSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $namespaces = [
            [
                'namespace' => 'Accounting.Setup.',
                'status' => 1
            ],
            [
                'namespace' => 'Accounting.Config.',
                'status' => 1
            ]
        ];
        foreach($namespaces as $namespace){
            ControllerNamespace::query()->insert($namespace);
        }
    }
}
