More model property updates
This commit is contained in:
@@ -30,9 +30,7 @@ class Event_Presentation_Base(BaseModel):
|
||||
alias = 'event_presentation_external_id'
|
||||
)
|
||||
|
||||
code: Optional[str] = Field(
|
||||
# alias = 'event_presentation_code'
|
||||
)
|
||||
code: Optional[str]
|
||||
|
||||
event_id_random: Optional[str]
|
||||
event_id: Optional[int]
|
||||
@@ -55,6 +53,8 @@ class Event_Presentation_Base(BaseModel):
|
||||
for_type: Optional[str]
|
||||
for_id: Optional[int]
|
||||
|
||||
abstract_code: Optional[str]
|
||||
|
||||
# FUTURE: This event_presentation.type_code should override, the type_code of the event_session.type_code.
|
||||
type_code: Optional[str] # None, poster (image, video), assume presentation (PPT, Key, PDF, etc)
|
||||
|
||||
|
||||
@@ -156,6 +156,8 @@ class Event_Presenter_Base(BaseModel):
|
||||
event_track_code: Optional[str]
|
||||
event_track_name: Optional[str]
|
||||
|
||||
person_passcode: Optional[str]
|
||||
|
||||
# Including other related objects
|
||||
# event: Optional[Event_Base]
|
||||
# event_abstract: Optional[Event_Abstract_Base]
|
||||
@@ -361,6 +363,8 @@ class Event_Presenter_Out_Base(BaseModel):
|
||||
# event_session_start_datetime: Optional[datetime.datetime]
|
||||
# event_session_end_datetime: Optional[datetime.datetime]
|
||||
|
||||
person_passcode: Optional[str]
|
||||
|
||||
# Including other related objects
|
||||
|
||||
_processed_at: datetime.datetime = PrivateAttr(default_factory=datetime.datetime.now)
|
||||
|
||||
Reference in New Issue
Block a user