130 likes | 482 Views
EER: Enhanced E-R Model. Specialization / Generalization SubClass / SuperClass. Subclasses for Different Roles. SuperClass: Staff SubClasses: Manager SalesPersonnel Secretary. Common and Different Attributes. SuperClass:
E N D
EER: Enhanced E-R Model Specialization / Generalization SubClass / SuperClass
Subclasses for Different Roles SuperClass: Staff SubClasses: Manager SalesPersonnel Secretary
Common and Different Attributes SuperClass: Staff: staffNo, name, address, phone, salary SubClasses: Manager: mgrStartDate, bonus SalesPersonnel: salesArea, carAllowance Secretary: typingSpeed
Constraints for Sub-Classes Participation: Mandatory Optional Disjoint: Disjoint (or) Non-disjoint (and) Business Rules
Participation: Mandatory SuperClass: Staff SubClasses PartTime FullTime
Participation: Optional SuperClass: Staff SubClasses Supervisor Supervisee
Disjoint (Xor) SuperClass: Staff SubClasses PartTime FullTime
Nondisjoint (And) SuperClass: Staff SubClasses: Manager SalesPersonnel Secretary
Staff staffNo Manager bonus Secretary typingSpeed SalesPersonnel salesArea EER Diagram {Mandatory, And}
Staff staffNo FullTime salaryScale PartTime hoursRate EER Diagram {Mandatory, Xor}