summaryrefslogtreecommitdiff
path: root/api/schemas
diff options
context:
space:
mode:
authorLuiz Gustavo Monteiro <luizgu_mreis@hotmail.com>2025-11-03 23:39:34 -0300
committerLuiz Gustavo Monteiro <luizgu_mreis@hotmail.com>2025-11-03 23:39:34 -0300
commitf392c3edaf52ccfa496d2e85f96e18ec81d11a65 (patch)
tree17f15971a209936a774c9a313938452d986a89b5 /api/schemas
parente987f732a7ad2d85a5760061a20873b841c10fac (diff)
refactor Post methods in schema files
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