import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { WosController } from './wos.controller'; import { WosService } from './wos.service'; import { WosUser } from '../entities/wos-user.entity'; import { CouponLog } from '../entities/coupon-log.entity'; import { WosCoupon } from '../entities/wos-coupon.entity'; @Module({ imports: [TypeOrmModule.forFeature([WosUser, CouponLog, WosCoupon])], controllers: [WosController], providers: [WosService], exports: [WosService], }) export class WosModule {}