Interpreting a short passage of the text to identify the best class candidates as well as the inheritance, composition or aggregation relationships that might exist among them:
Assume that a simple batch payroll system consist of the employees in the XYZ Company, and their associated data, such as Employee ID, name / last name, and birthday. Also Employee should belong to one of the department – Department of Sales or Department of Advertisement, and employees could belong to the union. Employees belong to the union must pay union charge as 0.1% from monthly income. Some employees are paid only by a flat salary (monthly rate), some are paid ONLY an hourly rate (weekly hourly rate), and some are paid only on a commission based on their sales (usually % from their monthly sales).