import { Module } from '@nestjs/common'; import { LeadController } from './controller/lead.controller'; import { LeadService } from './service/lead.service'; import { LeadRepository } from './repository/lead.repository'; import { TypeOrmModule } from '@nestjs/typeorm'; import { OrganizationData } from '../enterprise/entity/organization.entity'; @Module({ imports: [TypeOrmModule.forFeature([OrganizationData])], providers: [LeadService, LeadRepository], controllers: [], exports: [LeadService], }) export class LeadModule {}