Domain Model Clause Samples
Domain Model. In this domain model we have a BankEmployee that act like a controller since he/she is the only thing that interactor with all other components. it is important to understand that in this system the client is a physical person and that we handle physical money in the system. DepositMethod has a one to many relation with both Cheque and PhysicalMoney since it is accepted that a client want to deposit more than one physicalMoney or Cheque. the Client hold a one to many relation with cheque and physicalMoney as well, and with Account since the client may have more than one account and the client can have more then one cheque/physicalmoney he/she want to deposit. The bank employee can only handle one depositmethod at a time but the employee many handle more than one account if needed.
Domain Model. The domain model is visualized in Figure 4.4.
Domain Model