From 35998e217f10f8e3d0964518a81fb143d5d0bd1e Mon Sep 17 00:00:00 2001 From: WangSL <48207171+WSL0809@users.noreply.github.com> Date: Tue, 7 May 2024 14:46:07 +0800 Subject: [PATCH] bugfix --- api/get_all_clients.py | 1 + config.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/get_all_clients.py b/api/get_all_clients.py index 9be0bf1..bb71a8e 100644 --- a/api/get_all_clients.py +++ b/api/get_all_clients.py @@ -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 diff --git a/config.py b/config.py index 04420fd..cb17872 100644 --- a/config.py +++ b/config.py @@ -13,9 +13,9 @@ class RoomStatus(Enum): class ClientStatus(Enum): - # 已入住 + # 直接从房态管理里添加的顾客(房态显示已预定) *vip客户* in_there = 0 - # 出院 + # 住完已经离开月子中心的顾客 out = 1 # 手动创建 manual_create = 2