<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert([
            [
                'id' => 1,
                'first_name' => 'izyim',
                'last_name' => 'project',
                'username' => 'izyim',
                'email' => 'one@izyim.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 2,
                'first_name' => 'Coca Cola',
                'last_name' => 'Project',
                'username' => 'cocal-cola',
                'email' => 'one@coca-cola.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 3,
                'first_name' => 'plumber service',
                'last_name' => 'project',
                'username' => 'user 2',
                'email' => 'one@plumber-service.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 4,
                'first_name' => 'J&T',
                'last_name' => 'project',
                'username' => 'J&T',
                'email' => 'one@j-t.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 5,
                'first_name' => 'Repair',
                'last_name' => 'project',
                'username' => 'REPAIR',
                'email' => 'repair@gmail.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ],
            [
                'id' => 6,
                'first_name' => 'Render',
                'last_name' => 'project',
                'username' => 'RENDER',
                'email' => 'render@gmail.com',
                'password' => bcrypt('pass123'),
                'img' => null,
                'status' => 1,
                'active_at' => date('Y-m-d H:i:s'),
                'login_at' => date('Y-m-d H:i:s'),
                'created_at' => date('Y-m-d H:i:s'),
                'updated_at' => date('Y-m-d H:i:s')
            ]
        ]);
    }
}