mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-18 22:54:23 +01:00
16 lines
484 B
Python
16 lines
484 B
Python
from pisa.encrypted_blob import EncryptedBlob
|
|
|
|
|
|
# Basic appointment structure
|
|
class Appointment:
|
|
def __init__(self, locator, start_time, end_time, dispute_delta, encrypted_blob, cipher, hash_function):
|
|
self.locator = locator
|
|
self.start_time = start_time
|
|
self.end_time = end_time
|
|
self.dispute_delta = dispute_delta
|
|
self.encrypted_blob = EncryptedBlob(encrypted_blob)
|
|
self.cipher = cipher
|
|
self.hash_function = hash_function
|
|
|
|
|