Introduction
This is a basic example of how we can calculate the expenses of a project based on the number of employees that are working on and their category and hourly rate.
Tips/Hints
Hourly rate is based on Employee Rank Hours per year are based on Company (all the employees same number of hours)
Responsabilities
Seggregate the responsabilities of:
- User creation
- Project creation
- Calculations
Next steps (Version 2.0)
- Usage of DDD Approach (avoid anemic domain)
- Add Data Access Layer
- Create an API