<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    public function run(): void
    {
        User::create([
            'name'      => 'Administrador',
            'email'     => 'admin@ecosistema.com',
            'password'  => Hash::make('password'),
            'role'      => 'admin',
            'user_type' => 'ambos',
            'locale'    => 'pt_BR',
        ]);

        User::create([
            'name'      => 'João Turista',
            'email'     => 'turista@ecosistema.com',
            'password'  => Hash::make('password'),
            'role'      => 'usuario',
            'user_type' => 'turista',
            'locale'    => 'pt_BR',
        ]);

        User::create([
            'name'      => 'Maria Cidadã',
            'email'     => 'cidadao@ecosistema.com',
            'password'  => Hash::make('password'),
            'role'      => 'usuario',
            'user_type' => 'cidadao',
            'locale'    => 'pt_BR',
        ]);

        User::create([
            'name'      => 'Pedro Ambos',
            'email'     => 'ambos@ecosistema.com',
            'password'  => Hash::make('password'),
            'role'      => 'usuario',
            'user_type' => 'ambos',
            'locale'    => 'pt_BR',
        ]);

        User::create([
            'name'      => 'Parceiro Exemplo',
            'email'     => 'parceiro@ecosistema.com',
            'password'  => Hash::make('password'),
            'role'      => 'parceiro',
            'user_type' => 'ambos',
            'locale'    => 'pt_BR',
        ]);
    }
}
