import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { DropdownOption, DropdownOptionSchema } from './dropdown-option.schema';
import { DropdownOptionsService } from './dropdown-options.service';
import { DropdownOptionsController } from './dropdown-options.controller';

@Module({
    imports: [
        MongooseModule.forFeature([
            { name: DropdownOption.name, schema: DropdownOptionSchema },
        ]),
    ],
    providers: [DropdownOptionsService],
    controllers: [DropdownOptionsController],
    exports: [DropdownOptionsService],
})
export class DropdownOptionsModule {}
