K
kids_pro
What is the correct way to implement this real world problem?
Planning Process:
----------------------------------------------------------
--+ Plan: (name, GetCost, GetPaidAmount)
----+ Activities: The plan has many activities (name, GetCost,
GetPaidAmount)
------+ Budget Items: again each activity has many budget item. (name,
smallCost)
--------+ Payment: There is more than one payment for each Budget Items
(month,amount)
Use case:
If we plan for 12 months (1-12) then the payment can be made again the
budget item within any month from 1 -12.
I feel this problem can be implement in C# in OOP way.
But when I try I was get lost.
I am not sure to to related each class to gether.
Please advise me with some implementation prototype.
Many thanks
Planning Process:
----------------------------------------------------------
--+ Plan: (name, GetCost, GetPaidAmount)
----+ Activities: The plan has many activities (name, GetCost,
GetPaidAmount)
------+ Budget Items: again each activity has many budget item. (name,
smallCost)
--------+ Payment: There is more than one payment for each Budget Items
(month,amount)
Use case:
If we plan for 12 months (1-12) then the payment can be made again the
budget item within any month from 1 -12.
I feel this problem can be implement in C# in OOP way.
But when I try I was get lost.
I am not sure to to related each class to gether.
Please advise me with some implementation prototype.
Many thanks