import { RoleAuthor } from '@/entities/role-author.entity';
import { User } from '@/entities/user.entity';
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MediasModule } from '../medias/medias.module';
import { UsersController } from './users.controller';
import { UsersService } from './users.service';

@Module({
  imports: [TypeOrmModule.forFeature([User, RoleAuthor]), MediasModule],
  providers: [UsersService],
  controllers: [UsersController],
})
export class UsersModule {}
