import { Injectable } from "@nestjs/common"; import { Expenses } from "@prisma/client"; import { BaseApprovalService } from "src/common/shared/base-approval.service"; import { PrismaService } from "src/prisma/prisma.service"; @Injectable() export class ExpensesCommandService extends BaseApprovalService { constructor(prisma: PrismaService) { super(prisma); } protected get delegate() { return this.prisma.expenses; } }