import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { DashboardController } from './dashboard.controller';
import { DashboardService } from './dashboard.service';
import { User } from '../../../database/entities/user.entity';
import { Settings } from '../../../database/entities/settings.entity';

@Module({
  imports: [TypeOrmModule.forFeature([User, Settings])],
  controllers: [DashboardController],
  providers: [DashboardService],
  exports: [DashboardService],
})
export class DashboardModule {}
