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