const mongoose = require('mongoose'); const Schema = mongoose.Schema; const OpportunityScehma = new Schema({ OpportunityID: { type: Number, // Use the Mongoose Schema Type for Number }, PropertyID: { type: Number, }, OpportunityStatusName: { type: String }, BranchName: { type: String } }); module.exports = mongoose.model('Opportunity', OpportunityScehma);