torsten@310: /**
torsten@310:  * Base class for models
torsten@310:  */
torsten@310: Ext.define('Lada.model.Base', {
torsten@310:     extend: 'Ext.data.Model',
torsten@310:     requires: ['Lada.lib.Helpers'],
torsten@310:     /**
torsten@310:      * Helper function to build an ID which is used in the proxy calls. This
torsten@310:      * function is a workaround for
torsten@310:      * https://roundup-intern.intevation.de/bfs/issue30
torsten@310:      * as some items can not be identified with a singe id.
torsten@310:      */
torsten@310:     getEidi: function() {
torsten@324:         return "/" + idProperty;
torsten@310:     }
torsten@310: });