import mongoose from "mongoose";

const recordSchema = new mongoose.Schema({
    payment:{type:mongoose.Schema.Types.ObjectId, ref:"Payment", required:true},
    term:{type:String, required:true}
});

export default mongoose.model("Record", recordSchema);