R
RSH
Hi,
I have a situation where I have a class Employee.
Each Employee can have multiple Deductions - I have a deduction class.
I have set the relationship up as a "has-a" relationship.
My question is what is the proper way to setup a situation where each
employee may have multiple deductions? Is it a situation where I simply add
a Deduction collection in the Employee class which stores deductions? ...or
do I have a seperate class that manages the collections so basically I would
have an Employee class, a Deduction Manager class, and a deduction class?
Thank you for any insight you might be able to provide.
Ron
I have a situation where I have a class Employee.
Each Employee can have multiple Deductions - I have a deduction class.
I have set the relationship up as a "has-a" relationship.
My question is what is the proper way to setup a situation where each
employee may have multiple deductions? Is it a situation where I simply add
a Deduction collection in the Employee class which stores deductions? ...or
do I have a seperate class that manages the collections so basically I would
have an Employee class, a Deduction Manager class, and a deduction class?
Thank you for any insight you might be able to provide.
Ron