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

34 lines
665 B
JavaScript

const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const PropertyScehma = new Schema({
PropertyID: {
type: Number, // Use the Mongoose Schema Type for Number
},
PropertyAddressLine1: {
type: String,
},
PropertyAddressLine2: {
type: String,
},
PropertyAddressCity: {
type: String,
},
PropertyAddressStateProvinceCode: {
type: String,
},
PropertyAddressZipCode: {
type: String
},
PropertyStatusName: {
type: String
},
BranchName: {
type: String
}
});
module.exports = mongoose.model('Property', PropertyScehma);