From 31a45c1b5c8a5470c131542c37b26fc572c5c4a4 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 1 Mar 2024 09:04:29 -0500 Subject: [PATCH] A couple new fields for sponsorships --- app/models/event_presenter_models.py | 2 +- app/models/sponsorship_models.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/models/event_presenter_models.py b/app/models/event_presenter_models.py index dd59ec5..49c302c 100644 --- a/app/models/event_presenter_models.py +++ b/app/models/event_presenter_models.py @@ -108,7 +108,7 @@ class Event_Presenter_Base(BaseModel): file_count: Optional[int] - # General catchall for agreement or consent + # General catchall for agreement or consent agree: Optional[bool] # Comments from the presenter. This is for internal use only. diff --git a/app/models/sponsorship_models.py b/app/models/sponsorship_models.py index 6bedda1..c8e8754 100644 --- a/app/models/sponsorship_models.py +++ b/app/models/sponsorship_models.py @@ -51,6 +51,9 @@ class Sponsorship_Base(BaseModel): # For media that have different predefined purposes in a JSON object list format. The Aether standard field names should be used. Examples: purpose, (file) type, (file) extension, (file) name, url, url_text, alt_text, width, height, size (in bytes), etc. media_li_json: Optional[Union[Json, None]] + # For simple question answers in a JSON object list format. A question should contain: id, code, name, desc, note, answer, etc. + questions_li_json: Optional[Union[Json, None]] + # For social media in a JSON object format. The Aether standard field names should be used. Examples: url, url_text, icon, etc. social_li_json: Optional[Union[Json, None]] @@ -74,6 +77,9 @@ class Sponsorship_Base(BaseModel): access_key: Optional[str] # This is for a unique access key or passcode to be used for a sponsorship page edit access. + # General catchall for agreement or consent + agree: Optional[bool] + # Comments from the sponsor. Assumed to be the POC. This is for internal use only. comments: Optional[str]