import { Module } from "@nestjs/common";
import { CouponsController } from "./coupons.controller";
import { SmartCouponService } from "./services/smart-coupon.service";
import { UserCouponService } from "./services/user-coupon.service";
import { FrequencyEngineService } from "./services/frequency-engine.service";
import { CouponsService } from "./coupons.service";
import { DatabaseModule } from "../../database/database.module";
import { ServicesModule } from "../../services/services.module";
import { MatchesModule } from "../matches/matches.module";

@Module({
  imports: [DatabaseModule, ServicesModule, MatchesModule],
  controllers: [CouponsController],
  providers: [
    CouponsService,
    SmartCouponService,
    UserCouponService,
    FrequencyEngineService,
  ],
  exports: [
    CouponsService,
    SmartCouponService,
    UserCouponService,
    FrequencyEngineService,
  ],
})
export class CouponsModule {}
