
$factory->define(App\User::class, function (Faker\Generator $faker) {
    return [
        'name' => $faker->name,
        'email' => $faker->safeEmail,
        'password' => bcrypt(str_random(10)),
        'remember_token' => str_random(10),
    ];
});

$factory->define(App\Admin\Message::class, function (Faker\Generator $faker) {
    return [
    	'id' => $faker->unique()->numberBetween(1,100),
        'name' => $faker->name,