"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CalendarDatesDto = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class CalendarDatesDto extends sequelize_1.Model {
}
exports.CalendarDatesDto = CalendarDatesDto;
CalendarDatesDto.attributeModel = {
    date: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
    exception_type: sequelize_1.DataTypes.INTEGER,
    service_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
};
CalendarDatesDto.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            service_id: { type: "string" },
            date: { type: "string" },
            exception_type: { type: "integer" },
        },
        required: ["service_id", "date"],
    },
};
//# sourceMappingURL=CalendarDatesDto.js.map