import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HotelUpdateChildComponent } from './hotel-update-child.component';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { MatButtonModule } from '@angular/material/button';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatMenuModule } from '@angular/material/menu';
import { NgSelectModule } from '@ng-select/ng-select';
import { ButtonModule } from 'primeng/button';
import { DialogModule } from 'primeng/dialog';
import { FileUploadModule } from 'primeng/fileupload';
import { InputTextModule } from 'primeng/inputtext';
import { TableModule } from 'primeng/table';
import { ToastModule } from 'primeng/toast';
import { ToolbarModule } from 'primeng/toolbar';
import { CalendarModule } from 'primeng/calendar';
import { Routes, RouterModule } from '@angular/router';
import { TooltipModule } from 'primeng/tooltip';

const routes: Routes = [
  {
    path: 'UpdateChildRate/:Hotel_Eaxtranet_Id/:RuleId',
    component:HotelUpdateChildComponent,
  },
]

@NgModule({
  declarations: [
    HotelUpdateChildComponent,
  ],
  imports: [
    CommonModule,
    ToastModule,
    TableModule,
    DialogModule,
    ToolbarModule,
    MatMenuModule,
    NgSelectModule,
    InputTextModule,
    ReactiveFormsModule,
    FormsModule,
    CalendarModule,
    MatButtonModule,
    MatCheckboxModule,
    TooltipModule,
    ButtonModule,
    FileUploadModule,
    NgSelectModule,
    RouterModule.forChild(routes),

  ],
  exports:[
    HotelUpdateChildComponent
  ]
})
export class HotelUpdateChildModule { }
