import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { EmailService } from './email.service';
import { EmailSettings } from './entities/email-setting.entity';
import { EmailTemplate } from './entities/email-template.entity';

@Module({
    imports: [TypeOrmModule.forFeature([EmailSettings, EmailTemplate])],
    providers: [EmailService],
    exports: [EmailService],
})
export class EmailModule { }
