Update models to include file id list.

This commit is contained in:
Scott Idem
2024-08-09 15:28:18 -04:00
parent 30f3aaea27
commit 394c2d1d94
2 changed files with 2 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ class Event_Presenter_Base(BaseModel):
data_json: Optional[Union[Json, None]] # For key value data. Careful with overwriting existing fields!
file_count: Optional[int]
event_file_id_li_json: Optional[Union[Json, None]] # List of file IDs (actually id_random)
# General catchall for agreement or consent
agree: Optional[bool]

View File

@@ -99,6 +99,7 @@ class Event_Session_Base(BaseModel):
file_count: Optional[int] # Only files directly under the session
internal_use_count: Optional[int] # Should be renamed to "internal_use_file_count"???
event_file_id_li_json: Optional[Union[Json, None]] # List of file IDs (actually id_random)
file_count_all: Optional[int] # All files under a session
status: Optional[int]