lib/core/entity/metadata/ColumnDecorators.js
function JoinColumn(joinColumnConfiguration) {
    return function (targetObject, propertyKey) {
        var entityMetadata = targetObject;
        if (!entityMetadata.joinColumnMap) {
            entityMetadata.joinColumnMap = {};
        }
        entityMetadata.joinColumnMap[propertyKey] = joinColumnConfiguration;
    };
}
function JoinColumn(joinColumnConfiguration) {
    return function (targetObject, propertyKey) {
        var entityMetadata = targetObject;
        if (!entityMetadata.joinColumnMap) {
            entityMetadata.joinColumnMap = {};
        }
        entityMetadata.joinColumnMap[propertyKey] = joinColumnConfiguration;
    };
}
function JoinColumn ( joinColumnConfiguration ) { return function ( targetObject , propertyKey ) { var entityMetadata = targetObject ; if ( ! entityMetadata . joinColumnMap ) { entityMetadata . joinColumnMap = { } ; } entityMetadata . joinColumnMap [ propertyKey ] = joinColumnConfiguration ; } ; }
Annotates columns.

@param columnConfiguration
@returns {function(Function)}
@constructor
Annotates columns .