import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { UsersController } from './users.controller';
import { User } from './entities/user.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Friendship } from '../friendship/entities/friendship.entity';
import { UserStats } from './entities/userStat.entities';
import { FriendshipService } from 'src/friendship/friendship.service';

@Module({
	imports: [TypeOrmModule.forFeature([User, Friendship, UserStats])],
	providers: [UsersService, FriendshipService],
	exports: [UsersService],
	controllers: [UsersController],
})
export class UsersModule {}
