import { Injectable } from '@nestjs/common'; import { TypeOrmCrudService } from '@nestjsx/crud-typeorm'; import { InjectRepository } from '@nestjs/typeorm'; import { PUser } from 'kkk-lib/auth/entity/p-user.entity'; @Injectable() export class UsersCrudService extends TypeOrmCrudService { constructor(@InjectRepository(PUser) repo) { super(repo); } }