Task 1 do
<<abstract>>
-id 1 Staff
-title -id, password
-description -name
… -salary
Tax=5% salary +constructors,getter/setter
Income=salary+ allowance +login(id,pasword):true,override
Senior: allowance=bonus+experience +logout():void, override
Fesher: if isfullstack then allowance=10%salary +toString():String
+doTask(Task t):void,abstract
+getIncome():double,abstract
Senior: day off=2/m +getTax():double
BA: dayoff =3/m
<<abstract>>
Tester: dayoff=2.5/m Dev BA
-programlanguage - fields[] String
+getIncome():double, abstract
+doTask(Task t):abtract +doTask(Task t)
+getIncome():double
+toString()
Fresher Senior
-bonus
-isFullStack -experience
+doTask(Task t) +doTask(Task t)
+toString() :override +toString() :override
<<interface>>
IEvaluation
+SubmitTask(Task):void
<<Interface>>
Itracking
+SalaryTransferDate:constant, Date
+login(id, pasword)
+logout()
+viewProfile()
+viewPaylip()
<<Interface>>
ITimeTracking
+sendRequestDayOff()
Tester
-TestDomain
+doTask(Task t)
+toString()
Fesher:
doTask: luc 7h30; doc todolist, lam task trong list, viet report
Senior:
doTask:bat dau luc 8h30, check todolist do fersher chuyen toi, doc report cua fesher
BA:
luc 9h bat dau, doc hop dong cua khach hang, contact kh, ghi report