12 lines
298 B
Python
12 lines
298 B
Python
from pydantic import BaseModel
|
|
from typing import Optional
|
|
|
|
class ConcertEventResponse(BaseModel):
|
|
id: str
|
|
name: str
|
|
venue: Optional[str]
|
|
location_lat: Optional[float]
|
|
location_lon: Optional[float]
|
|
date: str
|
|
description: Optional[str]
|
|
image_url: Optional[str] = None |