<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Hash;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('user')->insertGetId([
            'id' => 1,
            'gender' => 'M',
            'name' => 'Test',
            'surname' => 'User -1-',
            'email' => 'test1@rezervasyon.com',
            'password' => Hash::make('123456'),
            'phone' => '02123668989',
            'user_type' => 1,
            'locale' => 'en',
            'status' => 1,
            'created_by' => 1,
            'updated_by' => 1,
            'created_at' => time(),
            'updated_at' => time(),


        ]);
        DB::table('user')->insertGetId(
            [
                'id' => 2,
                'gender' => 'M',
                'name' => 'Test',
                'surname' => 'User -2-',
                'email' => 'test2@rezervasyon.com',
                'password' => Hash::make('1234567'),
                'phone' => '02123668989',
                'user_type' => 0,
                'locale' => 'en',
                'status' => 1,
                'created_by' => 1,
                'updated_by' => 1,
                'created_at' => time(),
                'updated_at' => time(),
            ]

        );
    }
}
