import { Module } from '@nestjs/common';
import { PenaltyController } from './penalty.controller';
import { PenaltyService } from './penalty.service';
import { LoggingModule } from 'src/database/logging/logging.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TeamWalletTransactionType } from 'src/team-wallet-transactions/entities/team-wallet-transaction-type.entity';
import { TeamWalletTransaction } from 'src/team-wallet-transactions/entities/team-wallet-transaction.entity';
import { Team } from 'src/teams/entities/team.entity';
import { User } from 'src/users/entities/user.entity';
import { Role } from 'src/roles/entities/role.entity';
import { PenaltyEntity } from './entities/penalty.entity';
import { Player } from 'src/players/entities/player.entity';

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