"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserMobileAccess = exports.UserMobileAccessSchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
exports.UserMobileAccessSchema = new mongoose_1.default.Schema({
    userId: {
        type: String,
        trim: true,
        required: true,
    },
    hasAccess: {
        type: Boolean,
        default: false,
    },
    canSignDocument: {
        type: Boolean,
        default: false,
    },
}, {
    timestamps: { createdAt: true, updatedAt: false },
});
exports.UserMobileAccess = mongoose_1.default.model(_models_1.MODEL_NAMES.userMobileAccess, exports.UserMobileAccessSchema);
