import { ObjectId } from "mongoose";

export interface IFuelRequest {

    _id?: ObjectId;

    requestNumber: string;

    employeeId: number;

    departmentId: number;

    vehicleId: number;

    routeId: number;

    fuelPumpId: ObjectId;

    fuelTypeId: ObjectId;

    createdBy: ObjectId;

    authorizedBy?: ObjectId;

    gallonQuantity: number;

    pricePerGallon: number;

    totalAmount?: number;

    previousMileage: number;

    currentMileage: number;

    distanceTraveled?: number;

    pumpReading?: ObjectId;

    pumpDifference?: number;

    comments?: string;

    odometerWorking: boolean;

    status:
        | "PENDIENTE"
        | "APROBADO"
        | "RECHAZADO";
}