import mongoose from 'mongoose';
 
const carSchema = new mongoose.Schema ({
    plateNumber: {type:String, required:true, unique:true},
    driverName: {type:String, required:true},
    phoneNumber:{type:String, required:true}
}, {timeStamps: true});

export default mongoose.model("Car", carSchema);