Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Class implementation

Hi,
Can any one give me solution for the following Scenario.

In a IT firm each programmer has to enter time entry. start time, end time, project name. there can be daily calender (day to day entry), holiday or overtime or leave. i need the class structure for this. In that there should be a inheritence.

I suppose to have like this : "CTimeEntry" as base class and "CDailyCalender", "COvertime" , "CHoliday" as derived classes. And "CLeave" as a Normal class. Is it a correct approach?
and i am stuck with the properties and methods in these classes. Please help me.

thanx
-Arjun
[622 byte] By [Arjun] at [2007-11-11 7:06:18]