-Ext.define( 'App.model.Association', {
+Ext.define 'App.model.Association'
+
+    statics:
+        AUTO_ID: 1000
+
+
 
     constructor: (config) ->
         Ext.apply(this, config);
 
-
-        types           = Ext.ModelManager.types
-        ownerName       = config.ownerModel
-        associatedName  = config.associatedModel
-        ownerModel      = types[ownerName]
-        associatedModel = types[associatedName]
+        me               = this
+        types            = Ext.ModelManager.types
+        ownerName        = config.ownerModel
+        associatedName   = config.associatedModel
+        ownerModel       = types[ownerName]
+        associatedModel  = types[associatedName]
+        me.initialConfig = config;
 
 
         if ! ownerModel?

            ownerName : ownerName,
            associatedName: associatedName
        })

    getReader: ->
        me = this

            me.reader = Ext.createByAlias('reader.' + reader.type, reader);

        return me.reader || null;
