<?php

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

class UsuarioSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('usuarios')->insert([
            'id_rol' => 1,
            'id_local' => 1,
            'username' => 'admin',
            'password' => bcrypt('eladmin123'),
            'nombres' => 'ADMINISTRADOR',
            'apellidos' => 'DEL SISTEMA',
            'dni' => '00000000',
            'fecha_nacimiento' => null,
            'domicilio' => 'NO ELIMINAR',
            'email' => 'carlosyasmany14@gmail.com',
            'telefono' => '983621793',
            'genero' => '',
            'url_avatar' => 'img/avatar/default.png',
        ]);
    }
}
