function Validate(options) {
    options = Object.assign({}, options);
    return function (target, propertyName) {
        return models_1.addAttributeOptions(target, propertyName, {
            validate: options
        });
    };
}
/**
 * Sets validation options for annotated field
 */
Sets validation options for annotated field
Sets validation options for annotated field
function Validate(options) {
    options = Object.assign({}, options);
    return function (target, propertyName) {
        return models_1.addAttributeOptions(target, propertyName, {
            validate: options
        });
    };
}
function Validate ( options ) { options = Object . assign ( { } , options ) ; return function ( target , propertyName ) { return models_1 . addAttributeOptions ( target , propertyName , { validate : options } ) ; } ; }
Sets validation options for annotated field
Sets validation options for annotated field