Beispiel #1
0
 def __init__(self, first_name, last_name, birth_date, address, phone, email, membership, is_active):
     Person.__init__(self, first_name, last_name)
     self._address = address
     self._birth_date = birth_date
     self._phone = phone
     self._email = email
     self._membership = membership
     self._isactive = is_active
Beispiel #2
0
 def __init__(self, first_name, second_name, code):
     """
     Extends from Person.__init__() to store common data of a person
     :return: none
     """
     Person.__init__(self, first_name, second_name)
     self.code = code
     self.birth_date = None
     self.address = None
     self.phone_number = []
     self.email = None
     self.role = None