theopensystemslab / fairhold-dashboard

https://fairhold-dashboard.vercel.app
0 stars 0 forks source link

Share and refactor `Lifetime` type #66

Closed zz-hh-aa closed 1 month ago

zz-hh-aa commented 2 months ago

Requires https://github.com/orgs/theopensystemslab/projects/5/views/1?pane=issue&itemId=73536775 to be completed first.

All tenure models use an instance of Lifetime which is slightly different or unique - can we simplify this and share a single Lifetime type, possibly though the use of generics / inheritance for tenure models?

zz-hh-aa commented 2 months ago

Question as to whether we no longer need to store yearlyPaymentBreakdown in the Mortgage object--think we might have discussed this before