import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';

@NgModule({
    imports: [
        RouterModule.forChild([
        /* jhipster-needle-add-entity-route - JHipster will add entity modules routes here */
<%_; for ( const entity of entities ) {
    if (entity.entityPage !== 'user') {
_%>
    {
        path: '<%= entity.entityPage %>',
        loadChildren: () => import('./<%= entity.entityFolderName %>/<%= entity.entityFileName %>.module').then(m => m.<%= entity.entityAngularName %>Module)
    },
<%_ } } _%>
        ]),
    ],
})
export class EntityRoutingModule {}
