E
Eric
I'm sure this is an easy one for lots of you out there, but...
1) Department --> Division
A Department can have 0 to * Divisions
That's the reality of it, anyway. Now the question - Employee:
If a department has divisions, then the employee works for one of them.
Obviously, if the Department does not have divisions, the Employee belongs
to the Department.
I don't want to create a convoluted relationship that needs to be reinforced
with code. My gut instinct then is to have the Division default to something
like "N/A" and do:
- A Department has 1 to * Division
- A Division has 0 to * Employee
Any comments and tips would be much appreciated.
BTW, the application is for a help ticketing system, specialized for a
hotel. Anyone know of any good templates out there I could use as a starting
point?
Much TIA,
Eric
1) Department --> Division
A Department can have 0 to * Divisions
That's the reality of it, anyway. Now the question - Employee:
If a department has divisions, then the employee works for one of them.
Obviously, if the Department does not have divisions, the Employee belongs
to the Department.
I don't want to create a convoluted relationship that needs to be reinforced
with code. My gut instinct then is to have the Division default to something
like "N/A" and do:
- A Department has 1 to * Division
- A Division has 0 to * Employee
Any comments and tips would be much appreciated.
BTW, the application is for a help ticketing system, specialized for a
hotel. Anyone know of any good templates out there I could use as a starting
point?
Much TIA,
Eric