Work on event sessions and related files. Internal use is a new thing.

This commit is contained in:
Scott Idem
2022-09-15 17:47:07 -04:00
parent ee297d9ea7
commit 84b33bb21f
8 changed files with 83 additions and 26 deletions

View File

@@ -75,15 +75,25 @@ class Event_Session_Base(BaseModel):
rehearsal_phone_passcode: Optional[str]
rehearsal_text: Optional[str]
image_path: Optional[str]
presentation_file_path: Optional[str]
presentation_file_size: Optional[str]
image_path: Optional[str] # Not currently in use. For a banner or logo
# presentation_file_path: Optional[str] # No longer used 2022-09-15
# presentation_file_size: Optional[str] # No longer used 2022-09-15
enable_event_file_approval_option: Optional[bool]
# enable_event_file_approval_option: Optional[bool] = Field(default=False)
# enable_event_file_approval_option: Optional[bool] = False # Setting a default to try and prevent client side null value issues.
# New internal use fields to help with logistics and planning 2022-09-15
internal_use: Optional[bool] # Will hide from moderators, presenters, non support people, etc
internal_notes: Optional[str] # general notes
internal_notes_access: Optional[str] # accessibility
internal_notes_av: Optional[str] # audio video
internal_notes_fb: Optional[str] # food and beverage
internal_notes_it: Optional[str] # IT and networking
internal_notes_staff: Optional[str] # staffing and labor
file_count: Optional[int]
internal_use_count: Optional[int]
status: Optional[int]
review: Optional[bool]
@@ -130,6 +140,7 @@ class Event_Session_Base(BaseModel):
event_badge_list: Optional[list] # Optional[Event_Abstract_Base]
event_device_list: Optional[list] # Optional[Event_Device_Base]
event_file_list: Optional[list] # Optional[Event_File_Base]
event_file_internal_use_list: Optional[list] # Optional[Event_File_Base]
event_location: Optional[Union[Event_Location_Base, None]]
event_person_list: Optional[list]
event_presenter_cat: Optional[Union[str, None]]