Ive been stumped on the best way to implement Doctrine2 entities to archive the following.
Ill do my best to explain.
I want to have base rates for different tasks/jobs. Like job: do laundry with a rate of 50.00. Then each customer can* override this job and rate. So customer: Wife, job: do laundry with a rate of 65.00.
So for each customer I would like to be able to do something like $customer->getJobRate(do laundry), and if the customer have a specific implementation of that job it returns the specific rate, if no specific implementation is found if returns the default rate.
I may be thinking about this too hard, but all of the solutions I can come up with just seem 'ugly' to me.
Thanks, John