forked from wangziqi/gongxue-base
14 lines
507 B
TypeScript
14 lines
507 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Notification } from '../entities/notification.entity';
|
|
import { NotificationsService } from './notifications.service';
|
|
import { NotificationsController } from './notifications.controller';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Notification])],
|
|
controllers: [NotificationsController],
|
|
providers: [NotificationsService],
|
|
exports: [NotificationsService],
|
|
})
|
|
export class NotificationsModule {}
|