Add event_id and guest_id fields to RSVPSchemaBase
All checks were successful
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Successful in 47s
Build and Push Docker Images / build-frontend (push) Has been skipped

This update introduces event_id and guest_id fields to the RSVPSchemaBase model, ensuring better tracking of RSVP details. These additions enhance data association and model usability.
This commit is contained in:
2025-03-19 08:38:22 +01:00
parent 472a0b7834
commit cd22418786

View File

@@ -12,6 +12,8 @@ class RSVPStatus(str, Enum):
class RSVPSchemaBase(BaseModel):
event_id: UUID
guest_id: UUID
status: RSVPStatus = Field(...)
number_of_guests: int = Field(default=1, ge=1)
response_message: str | None = None