bozo-backend/User.py

20 lines
759 B
Python

class User:
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
: param last_name: The last name of the 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
"""
self.first_name: str = first_name;
self.last_name: str = last_name;
self.username: str = username;
self.password: str = password;
self.permission = permissions;