const mongoose = require("mongoose");

const locationPricingSchema = new mongoose.Schema({
    // City: String,
    // State: String,
    Price1:Number,
    Price2:Number,
    Price3:Number,
    // Port1:String,
    // Port2:String,
    // Port:String,
    locationId: { type: mongoose.Schema.Types.ObjectId, ref: "Location", required: true }, // Foreign key reference
    userId: { type: mongoose.Schema.Types.ObjectId, ref: "User" }, 
    createdAt: { type: Date, default: Date.now },
});

const LocationPricing = mongoose.model("LocationPricing", locationPricingSchema);
module.exports = LocationPricing;
