import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';
import { WishProvincePageComponent } from './wish-province-page/wish-province-page.component';
import { WishProvinceColumnComponent } from './wish-province-column/wish-province-column.component';
import { WishProvinceAspectComponent } from './wish-province-aspect/wish-province-aspect.component';
import { WishPlanComponent } from './wish-plan/wish-plan.component';
import { WishPlanGroupComponent } from './wish-plan-group/wish-plan-group.component';
import { WishAspectComponent } from './wish-aspect/wish-aspect.component';
import { WishAspectExamComponent } from './wish-aspect-exam/wish-aspect-exam.component';


const routes: Routes = [
  {path: 'province', component: WishProvincePageComponent},
  {path: 'plan', component: WishPlanComponent},
  {path: 'aspect', component: WishAspectComponent}
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [WishProvinceColumnComponent,WishProvinceAspectComponent,WishAspectExamComponent],
  declarations: [WishProvincePageComponent, WishProvinceColumnComponent, WishProvinceAspectComponent, WishPlanComponent, WishPlanGroupComponent, WishAspectComponent, WishAspectExamComponent],
  exports: [
    RouterModule
  ]
})

export class ArtWishModule {
}
