"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaginationQueryDto = exports.ExtendableDto = exports.Dto = void 0;
require("reflect-metadata");
const console_1 = require("../console");
const types_1 = require("../types");
function Dto(info) {
    return function (target, options = {}) {
        const args = Object.assign(Object.assign({}, info), { timestamps: info.timestamps === undefined });
        Reflect.defineMetadata('sequelize::dtoInfo', args, target.prototype);
        const types = (0, types_1.getTypesData)(target);
        (0, console_1.addDto)(target.name, target.name, types);
    };
}
exports.Dto = Dto;
var ExtendableDto_1 = require("./ExtendableDto");
Object.defineProperty(exports, "ExtendableDto", { enumerable: true, get: function () { return __importDefault(ExtendableDto_1).default; } });
var PaginationQueryDto_1 = require("./PaginationQueryDto");
Object.defineProperty(exports, "PaginationQueryDto", { enumerable: true, get: function () { return __importDefault(PaginationQueryDto_1).default; } });
//# sourceMappingURL=index.js.map