const mongoose = require("mongoose");

const serviceSchema = new mongoose.Schema(
  {
    serviceCode: { type: String, required: true, unique: true, trim: true },
    serviceName: { type: String, required: true, trim: true },
    servicePrice: { type: Number, required: true, min: 0 },
  },
  { timestamps: true }
);

module.exports = mongoose.model("Service", serviceSchema);
