Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
235 B
2
Indexable
Never
const mongoose = require("mongoose");

const { Schema } = mongoose;

const equipmentSchema = new Schema({
  name: String,
  type: String,
  amount: Number,
});

module.exports = mongoose.model("Equipment", equipmentSchema);