import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { Matter, MatterSchema, ClientFolder, ClientFolderSchema } from '../common/schemas'
import { DocumentClassifierService } from './document-classifier.service'

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: Matter.name,        schema: MatterSchema },
      { name: ClientFolder.name,  schema: ClientFolderSchema },
    ]),
  ],
  providers: [DocumentClassifierService],
  exports:   [DocumentClassifierService],
})
export class DocumentClassifierModule {}
