79814995

Date: 2025-11-09 20:06:53
Score: 4
Natty:
Report link

Thanks! A follow-up question:

If the CreditLine (or Financing) entity only holds stable attributes like the ID, would it also contain a list of its Snapshots?

Should getters and all domain logic (like calculations) stay in the CreditLine class and delegate to the latest snapshot, or live directly in the Snapshot and the Credit Line class just have methods to add and retrieve a snapshot?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MABC