浏览代码

add season schema

highing666 3 年之前
父节点
当前提交
8244f5a316
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/schemas/season.py

+ 7 - 0
app/schemas/season.py

@@ -0,0 +1,7 @@
+from enum import Enum
+
+
+class Season(str, Enum):
+    cooling = "Cooling"
+    heating = "Warm"
+    transition = "Transition"