12345678910111213 |
- import { Module } from '@nestjs/common';
- import { ArticleService } from './article.service';
- import { ArticleController } from './article.controller';
- import { Article } from './article.entity';
- import { TypeOrmModule } from '@nestjs/typeorm';
- import { ArticleTranslation } from './article.entity.tranlation';
- @Module({
- imports: [TypeOrmModule.forFeature([Article, ArticleTranslation])],
- providers: [ArticleService],
- controllers: [ArticleController],
- })
- export class ArticleModule {}
|