<?php

use Illuminate\Database\Seeder;
use App\Modules\Department\Model\Department;

class DepartmentSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {

        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 1,
            'title'      => 'Library',
            'created_by' => 1,
            'updated_by' => 1
        ]);
        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 1,
            'title'      => 'Science',
            'created_by' => 1,
            'updated_by' => 1
        ]);
        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 1,
            'title'      => 'Sports',
            'created_by' => 1,
            'updated_by' => 1
        ]);


        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 2,
            'title'      => 'Library',
            'created_by' => 1,
            'updated_by' => 1
        ]);
        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 2,
            'title'      => 'Science',
            'created_by' => 1,
            'updated_by' => 1
        ]);
        Illuminate\Support\Facades\DB::table('departments')->insert([
            'account_id' => 2,
            'title'      => 'Sports',
            'created_by' => 1,
            'updated_by' => 1
        ]);
    }

}
