Please answer correctly , Dont Share wrong answer

Please answer correctly , Dont Share wrong answer

Write .a class (in Python) that encapsulates data about an office worker. The class should store the
following things:
• Employee Number
• Office Number
• Name (First and Last)
• Birthdate
• Total number of hours worked
• Total number of overtime hours worked
Your class should also implement the following methods:
• get_employee_number()
o Returns the employee number
• set_employee_number()
o Changes the employee number
• get_office_number()
o Returns the office number
• set_office_number()
o If the office number given is less than 100 or greater than 500 return
False, otherwise return True
• get_name()
o Returns the employee’s name
• set_name()
o Changes the employee’s name
• set_birthdate()
o Changes the employee’s birthdate
o The function should return true if the month is 1-12 and the day is 1-31
(don’t worry about which month has how many days) and false if an
invalid day or month is entered.

• is_birthday()
o Returns true if the current month and day match the employee’s birthday
• get_hours_worked()
o Returns the number of hours worked
• add_hours()
o If the number of hours being added is greater than 9, add 9 hours to the
total hours worked and add the remainder to the total overtime
• get_overtime()
o Returns the number of overtime hours worked
Your submission should include a class file and a separate driver file that tests every method. Be
sure to include in your screenshots:
• Adding less than 9 hours (and the resulting totals)
• Adding more than 9 hours (and the resulting totals)
• Setting a valid office number
• Setting an invalid office number

Please explain

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -