import { Module } from '@nestjs/common';

import { PrismaModule } from '../prisma/prisma.module';

import { BillingController } from './billing.controller';
import { BillingService } from './billing.service';
import { StripeWebhookController } from './stripe/stripe-webhook.controller';
import { StripeWebhookService } from './stripe/stripe-webhook.service';

@Module({
  imports: [PrismaModule],
  controllers: [BillingController, StripeWebhookController],
  providers: [BillingService, StripeWebhookService],
  exports: [BillingService],
})
export class BillingModule {}
