"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CalendarDaySchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
exports.CalendarDaySchema = new mongoose_1.default.Schema({
    date: {
        type: String,
        required: true,
    },
    calendarType: {
        type: String,
        required: true,
        default: 'US'
    },
    workingDay: {
        type: Boolean,
        default: false,
    },
    publicHoliday: {
        type: Boolean,
        default: false,
    },
    publicHolidayDescription: {
        type: String,
        default: '',
    },
    weekendDay: {
        type: Boolean,
        default: false,
    },
    customDate: {
        type: Boolean,
        default: false,
    },
    customDateDescription: {
        type: String,
        default: '',
    },
    __v: {
        type: Number,
        select: false
    },
}, { timestamps: false });
exports.default = mongoose_1.default.model(_models_1.MODEL_NAMES.calendarDays, exports.CalendarDaySchema);
