Work on Impexium and badges for ISHLT

This commit is contained in:
Scott Idem
2022-02-24 18:11:14 -05:00
parent 0ff464dde2
commit d4da7535f9
4 changed files with 107 additions and 13 deletions

View File

@@ -30,6 +30,10 @@ class Event_Badge_Base(BaseModel):
event_id_random: Optional[str]
event_id: Optional[int]
# NOTE: This should only be used when the event_person record can not be created. And records before 2022.
event_id_random_only: Optional[str]
event_id_only: Optional[int]
event_person_id_random: Optional[str]
event_person_id: Optional[int]
@@ -73,6 +77,10 @@ class Event_Badge_Base(BaseModel):
full_address: Optional[str]
# This is updated using SQL triggers and a SQL function
# Combines informal, given, middle, family, email
query_str: Optional[str]
# NOTE: More badge fields need to be added here once things are cleaned up
badge_type_code: Optional[str]
badge_type: Optional[str]