-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Teacher class(Usage not implemented yet)
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Teacher: | ||
def __init__(self, firstname: str, surname: str, middlename: str, position_name: str, subjects: list[dict]): | ||
""" | ||
Class Teacher represents school teachers | ||
:param firstname: Teacher firstname | ||
:param surname: Teacher surname | ||
:param middlename: Teacher middlename | ||
:param position_name: Name of position where teacher is | ||
:param subjects: List of teacher's subjects | ||
""" | ||
self.firstname = firstname | ||
self.surname = surname | ||
self.middlename = middlename | ||
self.position_name = position_name | ||
self.subjects = subjects | ||
raise NotImplementedError |