diff options
Diffstat (limited to 'api/schemas/sensor.py')
| -rw-r--r-- | api/schemas/sensor.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/schemas/sensor.py b/api/schemas/sensor.py index e69de29..e038378 100644 --- a/api/schemas/sensor.py +++ b/api/schemas/sensor.py @@ -0,0 +1,6 @@ +from pydantic import BaseModel + +class PostSensor(BaseModel): + name: str + installation_date: int | None = None + station_id: int
\ No newline at end of file |
