<?php
/*
|-------------------------------------------------------------------
| Models Factories
|-------------------------------------------------------------------
|
| Here you may define all of your model factories. Models factories
| give you a convenient way to create models for testing and seeding
| your database. Just tell the factory how a default model should
| look.
*/

use Illuminate\Support\Facades\Hash;

$factory->define(App\Models\Users::class, function (Faker\Generator $faker) {
    return [
        'name'     => $faker->name,
        'email'    => $faker->unique()->email,
        'password' => Hash::make('12345'),
    ];
});
