import { Module } from '@nestjs/common';
import { WebService } from './web.service';
import { WebController } from './web.controller';
import { Category } from '@/modules/category/category.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Menu } from '@/modules/menu/menu.entity';
import { Article } from '@/modules/article/article.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Menu, Category, Article])],
  controllers: [WebController],
  providers: [WebService],
})
export class WebModule {}
