import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CouponUserController } from './coupon-user.controller';
import { CouponService } from './coupon.service';
import { Coupon } from '@/entities/coupon.entity';
import { UserCoupon } from '@/entities/user-coupon.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Coupon, UserCoupon]),
  ],
  controllers: [CouponUserController],
  providers: [CouponService],
  exports: [CouponService],
})
export class UserCouponModule {}
