import { Module } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { ClientFolder, ClientFolderSchema } from '../common/schemas'
import { RetainerController } from './retainer.controller'
import { RetainerService } from './retainer.service'
import { TrustModule } from '../trust/trust.module'

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: ClientFolder.name, schema: ClientFolderSchema },
    ]),
    TrustModule,
  ],
  controllers: [RetainerController],
  providers: [RetainerService],
  exports: [RetainerService],
})
export class RetainerModule {}
