#======================================================================================
# The FullTimer class - 
# Extends the Employee class
#======================================================================================
import sys                                              
sys.path.insert(0,'/home/s/sultans/web/python/demo/oo/employee')
from Employee import Employee

class FullTimer(Employee):                            # FullTimer class extends Employee superclass

    __pensionPlan = True;                                           #add class attributes
     
    def __init__(self, title, last, first, x, old, sal, vac):       #constructor    
     
        super().__init__(title, last, first, x, old)                #call the superclass constructor
        self.__salary       = sal                                   #add instance attributes                                
        self.__vacationDays = vac 

    def __str__(self) :                                      
        data  = super().__str__()                                   #call the superclass __str__()
        data += "\t salary: "         + str(self.__salary) + \
                "\t vacation days: "  + str(self.__vacationDays)                
        return (data)