export default {
    include: [
        {
            relation: 'travel',
            scope: {
                fields: [
                    'id',
                    'landed',
                    'shipped',
                    'agencyModeFk',
                    'warehouseOutFk',
                    'daysInForward',
                ],
                include: [
                    {
                        relation: 'agency',
                        scope: {
                            fields: ['name'],
                        },
                    },
                    {
                        relation: 'warehouseOut',
                        scope: {
                            fields: ['name'],
                        },
                    },
                    {
                        relation: 'warehouseIn',
                        scope: {
                            fields: ['name'],
                        },
                    },
                ],
            },
        },
        {
            relation: 'supplier',
            scope: {
                fields: ['id', 'nickname'],
            },
        },
    ],
};
