"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BorrowerNoteSubject = exports.BorrowerNoteSubjectSchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
const BorrowerNoteAttachmentSchema = new mongoose_1.default.Schema({
    name: {
        type: String,
        required: true,
    },
});
exports.BorrowerNoteSubjectSchema = new mongoose_1.default.Schema({
    name: {
        type: String,
        required: true,
    },
    order: {
        type: Number,
        required: true,
    },
}, {
    timestamps: true,
    versionKey: false,
});
exports.BorrowerNoteSubject = mongoose_1.default.model(_models_1.MODEL_NAMES.borrowerNoteSubject, exports.BorrowerNoteSubjectSchema);
