summaryrefslogtreecommitdiff
path: root/api/schemas/measures.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/schemas/measures.py')
-rw-r--r--api/schemas/measures.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/schemas/measures.py b/api/schemas/measures.py
index e69de29..999a82c 100644
--- a/api/schemas/measures.py
+++ b/api/schemas/measures.py
@@ -0,0 +1,5 @@
+from pydantic import BaseModel
+
+class PostMeasure(BaseModel):
+ name: str
+ unit_code: str \ No newline at end of file