20 lines
348 B
PHP
20 lines
348 B
PHP
<?php
|
|
|
|
namespace Modules\Product\Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Modules\Product\Entities\Product;
|
|
|
|
class ProductDatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
factory(Product::class, 20)->create();
|
|
}
|
|
}
|