import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';
import {AdmitAspectComponent} from './admit-aspect/admit-aspect.component';
import {AdmitProvinceComponent} from './admit-province/admit-province.component';
import { AdmitWishConfirmComponent } from './admit-wish-confirm/admit-wish-confirm.component';
import { AdmitProvinceScoreComponent } from './admit-province-score/admit-province-score.component';
import { AdmitProvinceAspectComponent } from './admit-province-aspect/admit-province-aspect.component';

const routes: Routes = [
  {path: 'aspect', component: AdmitAspectComponent},
  {path: 'province', component: AdmitProvinceComponent}
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [AdmitWishConfirmComponent, AdmitProvinceScoreComponent, AdmitProvinceAspectComponent],
  declarations: [AdmitAspectComponent, AdmitProvinceComponent, AdmitWishConfirmComponent, AdmitProvinceScoreComponent, AdmitProvinceAspectComponent],
  exports: [
    RouterModule
  ]
})
export class ArtAdmitModule {
}
