Develop the Data Transfer Object
We will define the data transfer object.
We'll cover the following
We will break the user interface development into the following three tasks:
- The data transfer object
- The mock service
- The mock user interface
We will look at these tasks one by one.
Data transfer object
The data transfer object contains EmployeeDto
which has an identifier and a name. There are two subtypes of EmployeeDto
known as PermanentEmployeeDto
, which also has salary and leaves, and ContractorEmployeeDto
, which has an hourly rate and overtime rate.
Get hands-on with 1400+ tech skills courses.