Your IP : 216.73.217.95


Current Path : /home/deltalab/PMS/sms-connector/models/mongoose/
Upload File :
Current File : //home/deltalab/PMS/sms-connector/models/mongoose/address.js

const mongoose = require('mongoose');

const AddressSchema = mongoose.Schema(
  {
    name      : String,
    latitude  : Number,
    longitude : Number,
    company   : String,
    street1   : String,
    street2   : String,
    city      : String,
    province  : String,
    state     : String,
    zip       : String,
    country   : String,
    phone     : String,
    email     : String,
  },
  {
    _id: false
  }
);

// MODELS ============================================
const addressModel = mongoose.model('Address', AddressSchema);

module.exports = {
  AddressSchema,
  addressModel
}