import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { LicensesController } from './licenses.controller'; import { LicensesService } from './licenses.service'; import { License } from '../../entities/license.entity'; @Module({ imports: [TypeOrmModule.forFeature([License])], controllers: [LicensesController], providers: [LicensesService], exports: [LicensesService], }) export class LicensesModule {}