import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { OrdenTrabajo } from "../ots/entities/orden-trabajo.entity";
import { Vehiculo } from "../vehiculos/entities/vehiculo.entity";
import { HistorialController } from "./historial.controller";
import { HistorialService } from "./historial.service";

@Module({
  imports: [TypeOrmModule.forFeature([OrdenTrabajo, Vehiculo])],
  controllers: [HistorialController],
  providers: [HistorialService],
  exports: [HistorialService],
})
export class HistorialModule {}
