From 0e7e072e4e8d031aec2313b3d780acb7fcb81924 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 3 Jun 2023 16:38:02 +0200 Subject: [PATCH] add: user class init --- User.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 User.py diff --git a/User.py b/User.py new file mode 100644 index 0000000..db69208 --- /dev/null +++ b/User.py @@ -0,0 +1,17 @@ +class User: + def __init__(self, first_name: str, last_name: str, username: str, password: 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 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;