<reponame>WillGreen98/University-INTPROG-Python<filename>T2 Week 14/Lecture 4 Example Code/Employee.py
class Employee:
    
    def __init__(self, name, address, jobTitle, lineManager, dept):
        self.name = name
        self.address = address
        self.jobTitle = jobTitle
        self.lineManager = lineManager
        self.department = dept
    
    def changeAddress(self, newAddress):
        self.address = newAddress
    
    def changeLineManager(self, newLineManager):
        self.lineManager = newLineManager
    
Week 14/Lecture 4 Example Code/Employee.py
class Employee:
    
    def __init__(self, name, address, jobTitle, lineManager, dept):
        self.name = name
        self.address = address
        self.jobTitle = jobTitle
        self.lineManager = lineManager
        self.department = dept
    
    def changeAddress(self, newAddress):
        self.address = newAddress
    
    def changeLineManager(self, newLineManager):
        self.lineManager = newLineManager