diff options
| author | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-11-03 23:39:34 -0300 |
|---|---|---|
| committer | Luiz Gustavo Monteiro <luizgu_mreis@hotmail.com> | 2025-11-03 23:39:34 -0300 |
| commit | f392c3edaf52ccfa496d2e85f96e18ec81d11a65 (patch) | |
| tree | 17f15971a209936a774c9a313938452d986a89b5 /api/schemas | |
| parent | e987f732a7ad2d85a5760061a20873b841c10fac (diff) | |
refactor Post methods in schema files
Diffstat (limited to 'api/schemas')
| -rw-r--r-- | api/schemas/station.py | 6 |
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 |
