"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeletedRecord = exports.DeletedRecordSchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
exports.DeletedRecordSchema = new mongoose_1.default.Schema({
    DBCollection: {
        type: String,
        trim: true,
    },
    recordId: {
        type: mongoose_1.default.Schema.Types.ObjectId,
        required: true,
    },
    record: {
        type: mongoose_1.default.Schema.Types.Mixed,
    },
}, { timestamps: false });
exports.DeletedRecord = mongoose_1.default.model(_models_1.MODEL_NAMES.deletedRecords, exports.DeletedRecordSchema);
