import { Module, Global } from '@nestjs/common'
import { MongooseModule } from '@nestjs/mongoose'
import { SiteConfig, SiteConfigSchema } from './site-config.schema'
import { PricingService } from './pricing.service'

@Global()
@Module({
  imports: [MongooseModule.forFeature([{ name: SiteConfig.name, schema: SiteConfigSchema }])],
  providers: [PricingService],
  exports: [PricingService],
})
export class PricingModule {}
