import { Injectable } from '@nestjs/common'; import { UserRepository } from '../../../database/domain/user-repository'; import { User } from '../../domain/entities/user'; @Injectable() export class UsersRepository extends UserRepository { protected model = 'user'; }