import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ScheduleModule } from '@nestjs/schedule';
import { Notice } from './notice.entity';
import { NoticeService } from './notice.service';
import { NoticeController } from './notice.controller';
import { NoticeGateway } from './notice.gateway';
import { LoginCoreModule } from '../../core/login_core/login_core.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Notice]),
    ScheduleModule.forRoot(),
    LoginCoreModule,
  ],
  controllers: [NoticeController],
  providers: [NoticeService, NoticeGateway],
  exports: [NoticeService, NoticeGateway],
})
export class NoticeModule {}