Brotherton-Aspire-App/models/propertyContact.js

21 lines
427 B
JavaScript
Raw Normal View History

2024-02-03 00:44:34 +00:00
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const PropertyContactScehma = new Schema({
PropertyID: {
type: Number, // Use the Mongoose Schema Type for Number
},
ContactName: {
type: String,
},
ContactID: {
type: Number
},
CompanyName: {
type: String
},
});
module.exports = mongoose.model('PropertyContact', PropertyContactScehma);