Implementación modulo configuración adicional de vehiculos

This commit is contained in:
2026-06-05 15:22:14 +00:00
parent c48f2f8537
commit a82e8af316
9 changed files with 187 additions and 5 deletions

View File

@ -1,8 +1,8 @@
import mongoose, { mongo, ObjectId } from "mongoose";
export interface IFuelPrince {
export interface IFuelPrice {
fueltypeId:ObjectId;
fuelTypeId:ObjectId;
pricePerGallon:number;
effectiveFrom:Date;

View File

@ -16,12 +16,10 @@ const fuelPriceSchema = new mongoose.Schema({
effetiveFrom:{
type:Date,
required:true
},
effetiveTo:{
type:Date,
required:true
},
active:{