<?php

use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //Administrador

        \DB::table('users')->insert(array(
			'name'     =>  'Administrador',
            'rol_id'   =>   1,
			'email'    =>  'admin@admin.com',
			'password' =>  Hash::make('admin1234')
		));

        // Hotel

        \DB::table('users')->insert(array(
            'name'     =>  'Hotel',
            'rol_id'   =>   2,
            'email'    =>  'hotel@hotel.com',
            'password' =>  Hash::make('hotel1234')
        ));

        //Cliente

        \DB::table('users')->insert(array(
            'name'     =>  'Cliente',
            'rol_id'   =>   3,
            'email'    =>  'cliente@hotel.com',
            'password' =>  Hash::make('cliente1234')
        ));
    }
}
