"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteDateColumn = DeleteDateColumn;
const globals_1 = require("../../globals");
/**
 * This column will store a delete date of the soft-deleted object.
 * This date is being updated each time you soft-delete the object.
 * @param options
 */
function DeleteDateColumn(options) {
    return function (object, propertyName) {
        (0, globals_1.getMetadataArgsStorage)().columns.push({
            target: object.constructor,
            propertyName: propertyName,
            mode: "deleteDate",
            options: options || {},
        });
    };
}
//# sourceMappingURL=DeleteDateColumn.js.map