const mongoose = require('mongoose');

const admin_bank_detail_schema = new mongoose.Schema({
    ac_holder_name: {
        type: String,
    },
    account_number: {
        type: Number,
    },
    ifsc_code: {
        type: String,
    },
    upi_payment_id: {
        type: String,
    },
    google_upi_payment_id: {
        type: String,
    },
    phonepay_upi_payment_id: {
        type: String,
    },
    status: {
        type: Number,
        default: 1,
    },


    insert_date: {
        type: Date,
        default: Date.now,
    },
});

const admin_bank_detail_module = mongoose.model('admin_bank_detail', admin_bank_detail_schema);

module.exports = admin_bank_detail_module;