FleetCart/Modules/Category/Database/Seeders/CategoryDatabaseSeeder.php

20 lines
353 B
PHP
Raw Normal View History

2023-06-11 12:14:03 +00:00
<?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();
}
}