@classmethod
def from_string(cls, emp_str):
    (first, last, salary) = emp_str.split('-')
    return cls(first, last, salary)
@classmethod
def from_string(cls, emp_str):
    (first, last, salary) = emp_str.split('-')
    return cls(first, last, salary)