-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataFormObject.py
More file actions
29 lines (28 loc) · 1.57 KB
/
DataFormObject.py
File metadata and controls
29 lines (28 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# an object holding data to give them for further processing - DBManager, DayListManager etc.
class DataForm:
def __init__(self):
self.element_id = ""
self.element = ""
self.date = None # Date, Start Date, in Personal Card == day and month of birth
self.deadline = None # Deadline, End Date; Not used in Remarks; in Personal Cards this is the Year of Birth
self.field1 = "" # Not used in Task
self.field2 = "" # in task: Expected Result
self.field3 = "" # Time, Start Time
self.project = "" # Not used in Remarks, Events; must be used for project (element == project) to ensure that create project fm task will work correctly
self.delegated = "" # Not used in Remarks, Events
self.cooperating = "" # Not used in Remarks, Events; for Personal Card == Company
self.field4 = "" # End time, for Personal Card == Title before name
self.field5 = "" # for Personal Card == Title after name
self.remarks = "" # in Personal Cards == e-mail
self.keywords = "" # in Personal Cards == phone number
self.category = ""
self.done = "No" # Initially 'No' for everything, when done the field is updated to 'DONE'
self.timestamp_created = ""
self.timestamp_finished = ""
class UserForm:
def __init__(self):
self.user_id = ""
self.firstName = ""
self.lastName = ""
user_email = ""
hashed_password = ""