import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { AliyunModule } from '../aliyun/aliyun.module'
import { SmsController } from './sms.controller'
import { SmsService } from './sms.service'
import { SmsRecord } from './entities/sms.entity'

@Module({
    imports: [TypeOrmModule.forFeature([SmsRecord]), AliyunModule],
    controllers: [SmsController],
    providers: [SmsService],
    exports: [SmsService]
})
export class SmsModule {}
