Hello,
I am playing with a test schema attempting to override certain methods and the like.
Currently able to set the getter method on the parent to the child via 'getterName' under the specified 'hasMany' association, but I am attempting to change the other direction w/o any success.
I want to be able to add in a method that refers back to the owning record as 'parent' or 'getParent()'.
From what I understand is that I cannot use both hasMany and belongsTo at the same time. Got errors trying to do just that.
How can I accomplish this task?

Here is the parent model. The child is pretty simple; only a single field for demo sake.
Code:
Ext.define("User", {
    extend: 'Ext.data.Model',
    fields: [
        'name'
    ],
    hasMany: {
        model: 'Order', 
        name: 'orders', 
        associationKey: 'orders', 
        getterName: 'getOrders'
    },
    proxy: {
        type: 'rest',
        reader: {
            type: 'json',
            root: 'users'
        }
    }
});