import { Types } from "mongoose";

export interface IFuelRequest {

    _id?: Types.ObjectId;

    requestNumber: string;

    employeeId: number;

    departmentId: number;

    vehicleId: number;

    routeId: number;

    fuelPumpId: Types.ObjectId;

    fuelTypeId: Types.ObjectId;

    createdBy: Types.ObjectId;

    authorizedBy?: Types.ObjectId;

    gallonQuantity: number;

    pricePerGallon: number;

    totalAmount?: number;

    previousMileage: number;

    currentMileage: number;

    distanceTraveled?: number;

    pumpReading?: Types.ObjectId;

    pumpDifference?: number;

    comments?: string;

    odometerWorking: boolean;

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