user/.old/adapters/secondaries/users.repository.ts

9 lines
276 B
TypeScript
Raw Normal View History

2022-12-13 14:27:28 +00:00
import { Injectable } from '@nestjs/common';
2023-05-05 14:56:30 +00:00
import { UserRepository } from '../../../database/domain/user-repository';
2022-12-13 14:27:28 +00:00
import { User } from '../../domain/entities/user';
@Injectable()
export class UsersRepository extends UserRepository<User> {
2023-05-05 14:56:30 +00:00
protected model = 'user';
2022-12-13 14:27:28 +00:00
}