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