mirror of
https://github.com/fuckpiracyshield/data-model.git
synced 2024-05-20 05:56:18 +02:00
20 lines
600 B
Python
20 lines
600 B
Python
from piracyshield_data_model.account.model import AccountModel
|
|
from piracyshield_data_model.account.role.model import AccountRoleModel
|
|
|
|
class GuestModel(AccountModel):
|
|
|
|
"""
|
|
Guest account data modeling class.
|
|
|
|
Currently not fully implemented.
|
|
"""
|
|
|
|
role = AccountRoleModel.GUEST
|
|
|
|
def __init__(self, account_id: str, name: str, email: str, password: str, confirm_password: str, is_active: bool):
|
|
"""
|
|
Extends the functionality from a general account.
|
|
"""
|
|
|
|
super().__init__(account_id, name, email, password, confirm_password, self.role, is_active)
|