Пример #1
0
    def __init__(self, name, identification, age, marital_status, balance,
                 cantidad_proyectos):

        Employee.__init__(self, name, identification, age, marital_status,
                          balance)

        self.cantidad_proyectos = cantidad_proyectos
    def __init__(self, name, identification, age, marital_status, balance,
                 experencie_years):

        Employee.__init__(self, name, identification, age, marital_status,
                          balance)

        self.__experencie_years = experencie_years
Пример #3
0
	def __init__(self, firstname, lastname, socialSecurity, salary, 
		               title, bonus):
		"""
		Sets firstname, lastname, SSN, salary, title and bonus.
		"""
		Employee.__init__(self, firstname, lastname, socialSecurity, salary)
		self.title = title
		self.bonus = bonus
Пример #4
0
 def __init__(self,
              id="x18-000",
              name="工大 太郎",
              birth=datetime(1980, 12, 1),
              join=datetime(2005, 4, 1),
              team="カスタマーサポート",
              salary=230000):
     Employee.__init__(self, id, name, birth, join, team, salary)
    def __init__(self, name, identification, age, marital_status, balance,
                 lineas_hour, language):

        Employee.__init__(self, name, identification, age, marital_status,
                          balance)

        self.__lineas_hour = lineas_hour
        self.__language = language
Пример #6
0
 def __init__(self, firstname, lastname, position, salary):
     self.position = position
     Employee.__init__(self, firstname, lastname, salary)
     Employee.empCount += 1
     
     if self.position == 'Staf':
         self.salary = salary
     elif self.position == 'Manager':
         self.salary = salary * 2
     elif self.position == 'General Manager':
         self.salary = salary * 3
Пример #7
0
    def __init__(self,
                 first_name='',
                 last_name='',
                 ssn='',
                 salary='',
                 title='',
                 bonus=0.0):
        """initialize manager object"""
        Employee.__init__(self, first_name, last_name, ssn, salary)

        self.title = title
        self.bonus = bonus
Пример #8
0
    def __init__(self, first_name='', last_name='', ssn='', salary=0.0,
                 title = '', bonus = 0.0):
        """initialize manager object"""

        self.first_name = first_name
        self.last_name = last_name
        self.ssn = ssn
        self.salary = salary

        Employee.__init__(self, first_name, last_name, ssn, salary)
        # calls the Account constructor to initialize that part of the object

        self.title = title
        self.bonus = bonus
Пример #9
0
 def __init__(self, title, annualBonus):
      """
      Sets the employee default values, title, and annual bonus. It also
      checks to see if values are valid and sets them to default values if they
      aren't.
      """
      Employee.__init__(self, "Generic First Name", "Generic Last Name", 123456789, 60000)
      if type(title) == str:
          self.title = title
      else:
          self.title = "Head Manager"
      if type(annualBonus) == int or type(annualBonus) == float:
          self.annualBonus = annualBonus
      else:
          self.annualBonus = 5000.0
Пример #10
0
 def __init__(self, name,ssn,salary,title, bonus):
     Employee.__init__(self, name,ssn,salary)
     self.title = title
     self.bonus = bonus
Пример #11
0
 def __init__(self):
     Employee.__init__(self)
Пример #12
0
 def __init__(self, firstName, lastName, SSN, salary, title, annualBonus):
     Employee.__init__(self, firstName, lastName, SSN, salary) # calls the Employee constructor to initialize that part of the object
     self.title = title
     self.annualBonus = float(annualBonus)
Пример #13
0
 def __init__(self, firstName, lastName, ssn, salary, title, bonus):
     Employee.__init__(self, firstName, lastName, ssn, salary)
     self.title = title
     self.bonus = bonus
Пример #14
0
 def __init__(self, name, surname, age, gender, pesel, login, password,
              date_remove, status, date_when_added):
     Employee.__init__(self, name, surname, age, gender, pesel, login,
                       password, date_remove, status, date_when_added)
 def __init__(self, name, salary):
     Employee.__init__(self, name, salary)
Пример #16
0
 def __init__(self, fname, sname, no_of_years, prog_lenguage):
     self.prog_lenguage = prog_lenguage
     Employee.__init__(self, fname, sname, no_of_years)
Пример #17
0
    def __init__(self, staff_name, staff_id, hourly_rate, hours_worked):

        Employee.__init__(self, staff_name, staff_id)
        self.hourly_rate = hourly_rate
        self.hours_worked = hours_worked
 def __init__(self):
      Employee.__init__(self) 
      self.title = "Head Manager"
      self.annualBonus = 5000
Пример #19
0
 def __init__(self, name, age, gender, title):
     Employee.__init__(self, name, age, gender, title)
     self.subordinates = []
Пример #20
0
 def __init__(self, surname='Blank', age=10, date_of_admission=datetime.date.today().year):
     Employee.__init__(self, surname, age, date_of_admission)
Пример #21
0
 def __init__(self, name, DOB, DateOfEmploy, jobTitle, lineManager,
              hourlyRate, numberHours):
     Employee.__init__(self, name, DOB, DateOfEmploy, jobTitle, lineManager)
     self.hourlyRate = hourlyRate
     self.numberHours = numberHours
Пример #22
0
 def __init__(self, name, DOB, DateOfEmploy, jobTitle, lineManager,
              monthlySalary):
     Employee.__init__(self, name, DOB, DateOfEmploy, jobTitle, lineManager)
     self.monthlySalary = monthlySalary
Пример #23
0
 def __init__(self, vacationDays, rate, first, last):
     self.vacat = vacationDays
     Employee.__init__(self, rate, first, last)
Пример #24
0
 def __init__(self, name, salary, duration, height, weight):
     Employee.__init__(self, name, salary)
     Human.__init__(self, height, weight)
     self.duration = duration
Пример #25
0
 def __init__(self, firstName="first", lastName="last", ssn=1111, salary=10000, title="manager", bonus=1000):
     Employee.__init__(self, firstName, lastName, ssn, salary)
     self.title = title
     self.bonus = bonus
Пример #26
0
 def __init__(self, name, salary, department):
     self.department = department
     Employee.__init__(self, name, salary)