Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
WSL0809 committed May 7, 2024
1 parent ac13afe commit 35998e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/get_all_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ClientGet(ClientBase):
mode_of_delivery: str
assigned_baby_nurse: Union[int, None]
room: Union[str, None]
due_date: Union[str, None]
class Config:
from_attributes=True
orm_mode = True
Expand Down
4 changes: 2 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class RoomStatus(Enum):


class ClientStatus(Enum):
# 已入住
# 直接从房态管理里添加的顾客(房态显示已预定) *vip客户*
in_there = 0
# 出院
# 住完已经离开月子中心的顾客
out = 1
# 手动创建
manual_create = 2
Expand Down

0 comments on commit 35998e2

Please sign in to comment.