add: email attribute on user
This commit is contained in:
parent
0e7e072e4e
commit
b7e7827b4a
4
User.py
4
User.py
@ -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
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user