"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const enum_type_1 = require("../../../mapper/type/enum.type");
const property_decorator_1 = require("../property/property.decorator");
function Enum(enumType) {
    return (target, propertyKey) => {
        if (typeof propertyKey === 'string') {
            property_decorator_1.initOrUpdateProperty({ typeInfo: { type: enum_type_1.EnumType, isCustom: true } }, target, propertyKey);
        }
    };
}
exports.Enum = Enum;
//# sourceMappingURL=enum.decorator.js.map