import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Org } from './entities/org.entity'
import { OrgController } from './org.controller'
import { OrgService } from './org.service'
import { OrgAdminController } from './org.admin.controller'
import { UsersModule } from 'src/users/users.module'
import { OrgUser } from './entities/org-user.entity'
import { KnowledgeBaseModule } from 'src/knowledge-base/knowledge-base.module'

@Module({
    imports: [TypeOrmModule.forFeature([Org, OrgUser]), UsersModule, KnowledgeBaseModule],
    controllers: [OrgController, OrgAdminController],
    providers: [OrgService]
})
export class OrgModule {}
