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