import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import {ManageReceiptRouterComponent} from '../manage-receipt/router/manage-receipt-router.component';
import {ManageReceiptContainer} from '../manage-receipt/container/manage-receipt/manage-receipt.container';
import { RegisterCancelRouter } from './router/register-cancel-router';
import { RegisterCancelContainer } from './container/register-cancel/register-cancel.container';
import { RegisterCancelListComponent } from './presenter/list/register-cancel-list/register-cancel-list.component';
import { RegisterCancelSearchComponent } from './presenter/search/register-cancel-search/register-cancel-search.component';

const routes: Routes = [
  {
    path: '',
    component: RegisterCancelRouter,
    children: [
      {
        path: '',
        component: RegisterCancelContainer
      },
    ]
  }
];

@NgModule({
  declarations: [

  RegisterCancelRouter,

  RegisterCancelContainer,

  RegisterCancelListComponent,

  RegisterCancelSearchComponent],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes)
  ]
})
export class RegisterCancelModule { }
