Work on event person tracking and related
This commit is contained in:
@@ -95,6 +95,7 @@ class Event_Badge_Base(BaseModel):
|
||||
priority: Optional[bool]
|
||||
sort: Optional[int]
|
||||
group: Optional[str]
|
||||
enable: Optional[bool]
|
||||
|
||||
notes: Optional[str]
|
||||
created_on: Optional[datetime.datetime] = None
|
||||
|
||||
@@ -58,6 +58,7 @@ class Event_Person_Base(BaseModel):
|
||||
priority: Optional[bool]
|
||||
sort: Optional[int]
|
||||
group: Optional[str]
|
||||
enable: Optional[bool]
|
||||
|
||||
notes: Optional[str]
|
||||
created_on: Optional[datetime.datetime] = None
|
||||
|
||||
@@ -40,7 +40,7 @@ class Event_Person_Tracking_Base(BaseModel):
|
||||
other_in_out: Optional[bool]
|
||||
other_type: Optional[str] # For unknown client specific tracking (lunch, medical, pause, etc)
|
||||
|
||||
in_datetime: datetime.datetime # This should generally default to the created datetime and be overridden as needed
|
||||
in_datetime: Optional[datetime.datetime] # This should generally default to the created datetime and be overridden as needed
|
||||
out_datetime: Optional[datetime.datetime] # This should generally default to the updated datetime and be overridden as needed
|
||||
|
||||
# Maybe add minutes or hours?
|
||||
@@ -51,8 +51,9 @@ class Event_Person_Tracking_Base(BaseModel):
|
||||
break_out: Optional[bool] # Does this make sense to use instead?
|
||||
break_in: Optional[bool] # Does this make sense to use instead?
|
||||
check_out: Optional[bool] # Does this make sense to use instead?
|
||||
datetime: datetime.datetime # This should generally default to the created datetime and be overridden as needed
|
||||
datetime: Optional[datetime.datetime] # This should generally default to the created datetime and be overridden as needed
|
||||
|
||||
enable: Optional[bool]
|
||||
|
||||
notes: Optional[str]
|
||||
created_on: Optional[datetime.datetime] = None
|
||||
|
||||
@@ -89,6 +89,8 @@ class Person_Base(BaseModel):
|
||||
external_id: Optional[str]
|
||||
external_import_id: Optional[str]
|
||||
|
||||
enable: Optional[bool]
|
||||
|
||||
notes: Optional[str]
|
||||
|
||||
created_on: Optional[datetime.datetime] = None
|
||||
|
||||
Reference in New Issue
Block a user