CRUD módulo anomaly

This commit is contained in:
2026-06-26 20:13:34 +00:00
parent eeb563825a
commit 8482ee608d
9 changed files with 542 additions and 15 deletions

View File

@ -0,0 +1,18 @@
import { ObjectId } from "mongoose";
export interface IAnomaly {
vehicleId:number;
employeeId:number;
fuelRequestId?:ObjectId;
externalInvoiceId:ObjectId;
lpgId?:ObjectId;
anomalyType:string;
description:string;
detectedBy:string;
reportedBy?:ObjectId;
resolvedVBy:ObjectId;
resolvedData:Date,
status:string;
comments?:string;
}