add: email attribute on user

This commit is contained in:
starnakin 2023-06-03 16:47:02 +02:00
parent 0e7e072e4e
commit b7e7827b4a

View File

@ -1,5 +1,5 @@
class User:
def __init__(self, first_name: str, last_name: str, username: str, password: str, permissions):
def __init__(self, first_name: str, last_name: str, username: str, password: str, email: str, permissions):
"""
: param first_name: The first name of the user
: type first_name: str
@ -7,6 +7,8 @@ class User:
: type last_name: str
: param password: The password of the user
: type password: str
: param email: The email of the user
: type email: str
: param permissions: The permissions of the user
: type permissions: dict
"""