module.exports = {
    core: {
        Module: require('./src/core/module'), 
        Account: require('./src/core/account'),

        article: {
            ArticleApproval: require('./src/core/article/article-approval'),
            ArticleBrand: require('./src/core/article/article-brand'),
            ArticleCategory: require('./src/core/article/article-category'),
            ArticleColor: require('./src/core/article/article-color'),
            ArticleCostCalculationDetail: require('./src/core/article/article-cost-calculation-detail'),
            ArticleCostCalculation: require('./src/core/article/article-cost-calculation'),
            ArticleCounter: require('./src/core/article/article-counter'),
            ArticleMaterial: require('./src/core/article/article-material'),
            ArticleMotif: require('./src/core/article/article-motif'),
            ArticleOrigin: require('./src/core/article/article-origin'),
            ArticleSeason: require('./src/core/article/article-season'),
            ArticleSize: require('./src/core/article/article-size'),
            ArticleSubCounter: require('./src/core/article/article-sub-counter'),
            ArticleTheme: require('./src/core/article/article-theme'),
            ArticleType: require('./src/core/article/article-type'),
            ArticleVariant: require('./src/core/article/article-variant'),
            Article: require('./src/core/article/article'),
        }
    },
    inventory: {
        InventoryMovement: require('./src/inventory/inventory-movement'),
        Inventory: require('./src/inventory/inventory'),
        Storage: require('./src/inventory/storage'),
        TransferInDoc: require('./src/inventory/transfer-in-doc'),
        TransferInItem: require('./src/inventory/transfer-in-item'),
        TransferOutDoc: require('./src/inventory/transfer-out-doc'),
        TransferOutItem: require('./src/inventory/transfer-out-item'),
        FinishedGoodsDoc: require('./src/inventory/finished-goods-doc'),
        ExpeditionDoc: require('./src/inventory/expedition-doc'),
        Supplier: require('./src/inventory/supplier')
    },
    manufacture: {
        FabricConsumptionDocument: require('./src/manufacture/fabric-consumption-document'),
        FabricConsumptionArticle: require('./src/manufacture/fabric-consumption-article'),
        FabricConsumptionItem: require('./src/manufacture/fabric-consumption-item'),
        CostCalculationDocument: require('./src/manufacture/cost-calculation-document'),
        CostCalculationArticle: require('./src/manufacture/cost-calculation-article'),
        CostCalculationItem: require('./src/manufacture/cost-calculation-item'),
        FinishingItem: require('./src/manufacture/finishing-item'),
        Finishing: require('./src/manufacture/finishing')
    },
    master: {
        FinishedGoods: require('./src/master/finished-goods'),
        Item: require('./src/master/item'),
        Material: require('./src/master/material'),
        Component: require('./src/master/component'),
        article: {
            ArticleApproval: require('./src/master/article/article-approval'),
            ArticleBrand: require('./src/master/article/article-brand'),
            ArticleCategory: require('./src/master/article/article-category'),
            ArticleColor: require('./src/master/article/article-color'),
            ArticleCostCalculationDetail: require('./src/master/article/article-cost-calculation-detail'),
            ArticleCostCalculation: require('./src/master/article/article-cost-calculation'),
            ArticleCounter: require('./src/master/article/article-counter'),
            ArticleMaterial: require('./src/master/article/article-material'),
            ArticleMotif: require('./src/master/article/article-motif'),
            ArticleOrigin: require('./src/master/article/article-origin'),
            ArticleSeason: require('./src/master/article/article-season'),
            ArticleSize: require('./src/master/article/article-size'),
            ArticleSubCounter: require('./src/master/article/article-sub-counter'),
            ArticleTheme: require('./src/master/article/article-theme'),
            ArticleType: require('./src/master/article/article-type'),
            ArticleVariant: require('./src/master/article/article-variant'),
            Article: require('./src/master/article/article'),
        }, 
        Bank: require('./src/master/bank'),
        CardType: require('./src/master/card-type'), 
        Store: require('./src/master/store')
    },
    merchandiser: {
        SPK: require('./src/merchandiser/spk-doc'),
        SPKItem: require('./src/merchandiser/spk-item')
    }, 
    sales: {
        Sales: require('./src/sales/sales-doc'),
        SalesItem: require('./src/sales/sales-item'),
        SalesDetail: require('./src/sales/sales-detail'),
        Promo: require('./src/sales/promo-doc'),
        PromoProduct: require('./src/sales/promo-product'),
        PromoDiscount: require('./src/sales/promo-discount'),
        RewardType: require('./src/sales/reward-type') 
    },
    map: require("./src/map"),
    validator: require("./src/validator")
}

@@ -20,1428 +20,152 @@
     
-core: %7B%0A        Module: require('./src/core/module'), %0A        Account: require('./src/core/account'),%0A%0A        article: %7B%0A            ArticleApproval: require('./src/core/article/article-approval'),%0A            ArticleBrand: require('./src/core/article/article-brand'),%0A            ArticleCategory: require('./src/core/article/article-category'),%0A            ArticleColor: require('./src/core/article/article-color'),%0A            ArticleCostCalculationDetail: require('./src/core/article/article-cost-calculation-detail'),%0A            ArticleCostCalculation: require('./src/core/article/article-cost-calculation'),%0A            ArticleCounter: require('./src/core/article/article-counter'),%0A            ArticleMaterial: require('./src/core/article/article-material'),%0A            ArticleMotif: require('./src/core/article/article-motif'),%0A            ArticleOrigin: require('./src/core/article/article-origin'),%0A            ArticleSeason: require('./src/core/article/article-season'),%0A            ArticleSize: require('./src/core/article/article-size'),%0A            ArticleSubCounter: require('./src/core/article/article-sub-counter'),%0A            ArticleTheme: require('./src/core/article/article-theme'),%0A            ArticleType: require('./src/core/article/article-type'),%0A            ArticleVariant: require('./src/core/article/article-variant'),%0A            Article: require('./src/core/article/article'),%0A        %7D
+auth: %7B%0A        Account: require('./src/auth/account'),%0A        Profile: require('./src/auth/profile'),%0A        Role: require('./src/auth/role')
 %0A   

fix index.js