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

21 lines
427 B
JavaScript

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