<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        User::create([
            'position_id' => 2,
            'name' => 'Administrator',
            'email' => 'admin@mail.com',
            'password' => bcrypt('secret')
        ]);

        User::create([
            'position_id' => 1,
            'name' => 'Penagih',
            'email' => 'penagih@mail.com',
            'password' => bcrypt('secret')
        ]);
    }
}
