Brotherton-Aspire-App/models/opportunity.js
2024-02-02 16:44:34 -08:00

22 lines
426 B
JavaScript

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);