const mongoose = require('mongoose');

const gali_disswar_game_result_history_schema = new mongoose.Schema({
    gameDB_id: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'gali_disswar_games',
        required: true,
    },
    close_number: {
        type: String,
    },
    close_decleare_status: {
        type: Number,
    },
    close_result_token: {
        type: String,
    },

    result_date: {
        type: Date,
        required: true,
    },
    close_decleare_date: {
        type: Date,
    },
});

const gali_disswar_game_result_history_module = mongoose.model('gali_disswar_game_result_history', gali_disswar_game_result_history_schema);

module.exports = gali_disswar_game_result_history_module;