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