const mongoose = require("mongoose");

const greedyBidSchema = new mongoose.Schema(
    {
        uid: Number,
        name: String,
        image: String,
        session: Number,
        amount: { type: Number, default: 0 },
        seat: { type: Number, default: 0 },
    },
    {
        timestamps: true,
        versionKey: false,
    }
);

module.exports = mongoose.model("greedy_bid", greedyBidSchema);
