Add UI to trips
This commit is contained in:
@@ -150,10 +150,12 @@ class TripCreate(BaseModel):
|
||||
|
||||
class TripEventCreate(BaseModel):
|
||||
title: str
|
||||
date: str # YYYY-MM-DD, must fall within parent trip range
|
||||
time: Optional[str] = None # HH:MM (24h)
|
||||
date: str # YYYY-MM-DD, must fall within parent trip range
|
||||
start_time: Optional[str] = None # HH:MM (24h)
|
||||
end_time: Optional[str] = None # HH:MM (24h)
|
||||
location: Optional[str] = None # inherits trip location if None
|
||||
maps_link: Optional[str] = None
|
||||
place_id: Optional[str] = None # Google Place ID
|
||||
notes: Optional[str] = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user