function ShardTable(shardCount) {
    return (target) => {
        const args = {
            shardCount,
            className: target.name,
        };
        if (args.className.indexOf('_') < 0) {
            EntityStorage_1.EntityStorage.instance.shardTableMetadataStorage[target.name] = args;
        }
    };
}
/**
 * ShardTable Decorate
 * @param shardCount   shard table count
 */
ShardTable Decorate
@param shardCount   shard table count
ShardTable Decorate @param shardCount shard table count
function ShardTable(shardCount) {
    return (target) => {
        const args = {
            shardCount,
            className: target.name,
        };
        if (args.className.indexOf('_') < 0) {
            EntityStorage_1.EntityStorage.instance.shardTableMetadataStorage[target.name] = args;
        }
    };
}
function ShardTable ( shardCount ) { return ( target ) => { const args = { shardCount , className : target . name , } ; if ( args . className . indexOf ( '_' ) < 0 ) { EntityStorage_1 . EntityStorage . instance . shardTableMetadataStorage [ target . name ] = args ; } } ; }
ShardTable Decorate
 @param shardCount   shard table count
ShardTable Decorate @param shardCount shard table count