import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Coupon } from '@/entities/coupon.entity';
import { UserCoupon } from '@/entities/user-coupon.entity';
import { CouponService } from './coupon.service';
// 注意：coupon-admin 和 coupon-user controller 已移动到各自模块

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