Implementación modulo configuración adicional de vehiculos
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import mongoose, { mongo, ObjectId } from "mongoose";
|
||||
|
||||
export interface IFuelPrince {
|
||||
export interface IFuelPrice {
|
||||
|
||||
fueltypeId:ObjectId;
|
||||
fuelTypeId:ObjectId;
|
||||
|
||||
pricePerGallon:number;
|
||||
effectiveFrom:Date;
|
||||
|
||||
@ -16,12 +16,10 @@ const fuelPriceSchema = new mongoose.Schema({
|
||||
|
||||
effetiveFrom:{
|
||||
type:Date,
|
||||
required:true
|
||||
},
|
||||
|
||||
effetiveTo:{
|
||||
type:Date,
|
||||
required:true
|
||||
},
|
||||
|
||||
active:{
|
||||
|
||||
Reference in New Issue
Block a user