// 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.

/**
 * The model representing a single dispatch service provider product.
 */
Ext.define('Shopware.apps.ViisonUPSShipping.model.PackagingType', {

    /**
     * Extend from the standard ExtJS 4.
     */
    extend: 'Ext.data.Model',

    /**
     * The fields used for this model.
     */
    fields: [
        { name: 'id', type: 'int', useNull: true }, // Null is needed for the "-" (no packaging type chosen) entry in the combobox in the config
        { name: 'name', type: 'string' },
        { name: 'code', type: 'string' }
    ]

});
