import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LoggingModule } from 'src/database/logging/logging.module';
import { Team } from 'src/teams/entities/team.entity';
import { TeamsModule } from 'src/teams/teams.module';
import { PenaltyController } from './penalty.controller';
import { PenaltyEntity } from './entities/penalty.entity';
import { PenaltyService } from './penalty.service';

@Module({
  controllers: [PenaltyController],
  providers: [PenaltyService],
  imports: [
    TypeOrmModule.forFeature([Team, PenaltyEntity]),
    TeamsModule,
    LoggingModule,
  ],
})
export class PenaltyModule {}
