Step 1 - Create an abstract Employee class that has properties for the following data: Employee first
Question:
Step 1 - Create an abstractEmployee class that has properties for the following data:
Employee first name
Employee last name
Employee number
Employee Address
Add: method ToString(), Constructor with 4 optional parameters.
Step 2 - Create class Address that has properties for the following data:
Street number and name (address line 1)
Apartment or unit and its number (address line 2)
City
State
Zip code
Country
Add: method ToString() and Constructor.
Step 3 - Create a class named ProductionWorker that is derived from the Employee class.
The ProductionWorker class should have properties(and private data fields) to hold the following data:
Shift number (an integer, such as 1 or 2) The workday is divided into two shifts: day and night.
Hourly pay rate
Number of hours
Add: method ToString(), Constructor, and method Earnings().
Step 4 -Create a class named ShiftSupervisor class that is derived from the Employee class.
In a particular factory, a Shift supervisor is a salaried employee who supervises a shift.
The ShiftSupervisor class should have a property that holds the annual salary and a property that holds the annual production bonus that a shift supervisor has earned. (Note: add private data fields).
Also, Shift supervisor is required to attend a minimum number of hours of training per year and the number of training hours that the supervisor has attended. (Note: and private data fields).
Add: method ToString() and Constructor.
Step 5 - Create GUI Application to test every method and property of the following classes: Employee, Address, ProductionWorker, and ShiftSupervisor.
Step 6 – Create NUnit project to test every class/method/constructor/property of your project.