const mongoose = require("mongoose");

const counterSchema = new mongoose.Schema({
  _id: { type: String, required: true }, // entity key e.g. "car", "service", "serviceRecord", "payment"
  seq: { type: Number, default: 0 },
});

module.exports = mongoose.model("Counter", counterSchema);
