summaryrefslogtreecommitdiff
path: root/api/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'api/schemas')
-rw-r--r--api/schemas/station.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/schemas/station.py b/api/schemas/station.py
index e69de29..3e8dc10 100644
--- a/api/schemas/station.py
+++ b/api/schemas/station.py
@@ -0,0 +1,6 @@
+from pydantic import BaseModel
+
+class PostStation(BaseModel):
+ name: str
+ installation_date: int
+ location_id: int \ No newline at end of file