I have a question around what entities I should have for Core Data in a very simple personal financial application on iOS.
I have an 'Account' entity which has many 'Transaction' entities which contain details like the date of transaction, the amount, the category and the payee etc.
My question is how should I model a 'transfer' transaction where the transaction will apply to more than one account, i.e debited from account A and credited to account B.
I understand the principles of double entry accounting but this is probably more than I need for this app. I just want a simple way of modelling a transfer between 2 accounts?
Any ideas?
Thanks