Initial commit
This commit is contained in:
25
database/factories/OrganizationFactory.php
Normal file
25
database/factories/OrganizationFactory.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class OrganizationFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'name' => $this->faker->company(),
|
||||
'email' => $this->faker->safeEmail(),
|
||||
'email_verified_at' => now(),
|
||||
'profile_photo_path' => $this->faker->imageUrl(128, 128),
|
||||
'about' => $this->faker->text(mt_rand(50, 300)),
|
||||
'motivation' => $this->faker->text(mt_rand(50, 150)),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user