text: //mongoose object declaration
  const { Int32 } = require("mongodb");
  var mongoose = require("mongoose");
  var Schema = mongoose.Schema;
  
  var bookmarkSchema = new Schema({
    email: {
      type: String,
      required: true
    },
    bookmarkname: {
      type: String,
      required: true
    },
    link: {
      type: String,
      required: true
    },
    memo: {
      type: String
    },
    x_coor: {
      type: Number,
      required: true
    },
    y_coor: {
      type: Number,
      required: true
    }
  });
  
  module.exports = mongoose.model('bookmark', bookmarkSchema);