database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        $this->call([
            RoleSeeder::class,
            CitySeeder::class,
            DistrictSeeder::class,
            UserSeeder::class,
            BankAccountSeeder::class,
            TitleSeeder::class,
            LevelSeeder::class,
            DepartmentSeeder::class,
            EmployeeSeeder::class
        ]);
    }
public function run ( ) { $ this -> call ( [ RoleSeeder :: class , CitySeeder :: class , DistrictSeeder :: class , UserSeeder :: class , BankAccountSeeder :: class , TitleSeeder :: class , LevelSeeder :: class , DepartmentSeeder :: class , EmployeeSeeder :: class ] ) ; }
Seed the application's database.
Seed the application ' s database .
// \App\Models\User::factory(10)->create();