const mongoose = require('mongoose');

const CustomerSchema = new mongoose.Schema({
  customerNumber: { type: String, required: true, unique: true },
  firstName: { type: String, required: true },
  lastName: { type: String, required: true },
  telephone: { type: String, required: true },
  address: { type: String, required: true },
});

module.exports = mongoose.model('Customer', CustomerSchema);
