You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
663 B
TypeScript

import { Module, forwardRef } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserService } from './user.service';
import { UserEntity } from './user.entity';
import { UserController } from './user.controller';
import { RoleEntity } from 'src/role/entities/role.entity';
// import { AuthService } from '../auth/auth.service';
@Module({
imports: [
TypeOrmModule.forFeature([
UserEntity,
RoleEntity
],
),
// TesterModule
// AuthModule,
// forwardRef(() => AuthModule),
],
providers: [UserService],
controllers: [UserController],
exports: [UserService],
})
export class UserModule { }