import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { UserWork } from './user-work.entity'; import { ListController } from './list.controller'; import { ListService } from './list.service'; import { WorkModule } from '../work/work.module'; import { UserModule } from '../user/user.module'; import { AuthModule } from '../auth/auth.module'; @Module({ imports: [ TypeOrmModule.forFeature([UserWork]), WorkModule, UserModule, AuthModule, ], controllers: [ListController], providers: [ListService], }) export class ListModule {}