Hello!
I hope this post does not violate the rules of the forum, if so, please delete/modify it.
I'm working on assignment "Utility International", and in domain model I found such strange relations that I cannot find any sense in it.
There are:
That creates awkward situation - one customer can have only one payment, but many bills to pay (than what should be the meaning of Payment class in such case?), Bill is associated with only one customer, but can have many payments (???, why should? and from where coming, if customer has only one payment?)
I believe this part of BDM should look like this:
Now it is quite logical (relation 1-* between payment and bill is justifiable as there are different types of bills to be paid in one month, so it's easy to imagine that customer pays them all in one bulk).
Do you think I can safely make such change to BDM? Or maybe someone can find any logical explanation to the original BDM, which wouldn't require any changes. I don't want to change it to simplify anything, nor even to optimize, but I just cannot understand how this original BDM can work - I believe it's either a typo, or they are
testing our awareness ;)
[Edit: put text between [code] and [/code]
ubb code blocks]