<?php

namespace Database\Seeders;

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

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert([
            [
                'cms_role_id'    => 2,
                'id'             => (string) Str::uuid(),
                'name'           =>'admin',
                'email'          =>'superadmin@wheel.com',
                'phone'          =>'082213017201',
                'status'         =>'active',
                'password'       =>Hash::make('123456')
            ],


        ]);
    }
}
