// Copyright (c) Pickware GmbH. All rights reserved.
// This file is part of software that is released under a proprietary license.
// You must not copy, modify, distribute, make publicly available, or execute
// its contents or parts thereof without express permission by the copyright
// holder, unless otherwise permitted by law.

Ext.define('Shopware.apps.ViisonPickwareMobileAnalyticsPickTimes.model.PickTimes', {

    extend: 'Ext.data.Model',
    fields: [
        { name: 'id', type: 'int' },
        { name: 'name', type: 'string' },
        { name: 'workdays', type: 'int', default: 0 },
        { name: 'pickedOrders', type: 'int', default: 0 },
        { name: 'packedOrders', type: 'int', default: 0 },
        { name: 'pickTimeInSeconds', type: 'int', default: 0, useNull: true },
        { name: 'averagePickTimeInSeconds', type: 'int', default: 0 },
        { name: 'picksPerWorkday', type: 'float', default: 0, useNull: true },
        { name: 'packsPerWorkday', type: 'float', default: 0, useNull: true },
    ],

});
