mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
16 lines
546 B
TypeScript
16 lines
546 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
|
|
|
import { CustomersController } from "./customers.controller";
|
|
import { CustomersRepository } from "./customers.repository";
|
|
import { CustomersService } from "./customers.service";
|
|
import { Customer } from "./entities/customer.entity";
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Customer])],
|
|
controllers: [CustomersController],
|
|
providers: [CustomersService, CustomersRepository],
|
|
exports: [CustomersService],
|
|
})
|
|
export class CustomersModule {}
|