import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ETCBlacklistComponent } from './components/etc-blacklist/etc-blacklist.component';
import { ETCInvoicedListComponent } from './components/etc-invoiced-list/etc-invoiced-list.component';
import { ETCInvoicedLogsComponent } from './components/etc-invoiced-logs/etc-invoiced-logs.component';
import { ETCInvoicedRequestedComponent } from './components/etc-invoiced-requested/etc-invoiced-requested.component';
import { InvoiceRequestedDetailComponent } from './components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component';
import { InvoiceRequestedComponent } from './components/invoice-requested/invoice-requested.component';
import { InvoicedListDetailComponent } from './components/invoiced-list/invoiced-list-detail/invoiced-list-detail.component';
import { InvoicedListComponent } from './components/invoiced-list/invoiced-list.component';

const routes: Routes = [
  { path: 'invoice-requested', component: InvoiceRequestedComponent },
  { path: 'invoice-requested-detail/:id', component: InvoiceRequestedDetailComponent },
  { path: 'invoice-list', component: InvoicedListComponent },
  { path: 'invoice-list-detail/:id', component: InvoicedListDetailComponent },
  { path: 'etc-invoice-requested', component: ETCInvoicedRequestedComponent },
  { path: 'etc-invoice-list', component: ETCInvoicedListComponent },
  { path: 'etc-invoiced-logs', component: ETCInvoicedLogsComponent },
  { path: 'etc-blacklist', component: ETCBlacklistComponent }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class TicketManagementRoutingModule {}
