function Table(tableConfiguration) {
    return function (constructor) {
        var entityMetadata = constructor;
        if (entityMetadata.table) {
            throw "Cannot set @Table, it is already set to '" + JSON.stringify(entityMetadata.table) + "'";
        }
        entityMetadata.table = tableConfiguration;
    };
}
function Table(tableConfiguration) {
    return function (constructor) {
        var entityMetadata = constructor;
        if (entityMetadata.table) {
            throw "Cannot set @Table, it is already set to '" + JSON.stringify(entityMetadata.table) + "'";
        }
        entityMetadata.table = tableConfiguration;
    };
}
function Table ( tableConfiguration ) { return function ( constructor ) { var entityMetadata = constructor ; if ( entityMetadata . table ) { throw "Cannot set @Table, it is already set to '" + JSON . stringify ( entityMetadata . table ) + "'" ; } entityMetadata . table = tableConfiguration ; } ; }
Annotates tables.

@param tableConfiguration
@returns {function(Function)}
@constructor
Annotates tables .