I have what seems like a simple employee time request web application that I have to do (C #, Silverlight or ASP.NET). An employee can request vacation time, illness time, maternity leave, compilation time, etc. (Maybe about 10 different types of holidays and may be more in the future), and their manager must approve each request.
It really turns into a mess with all the anomalies and such that I should expect. For example, people of different roles receive different vacation periods. Some people get leave, while others get everything from the start of the fiscal year (September 1). Employees have a bank in which they can store time and vacation time, but the size of these banks is limited and varies depending on the role of the employee. At any given time, I need to be able to see how much is left for an employee and how much is available for them. The biggest anomaly, in my opinion, is that an employee can change roles (i.e., switch to a manager at any given time and, therefore, start getting more vacation from this moment).
This is a rather difficult problem. My question is:
How do I create this? What is a good design template that can be used for this when I can be very flexible in the future?
Thanks!
source share