From b35bedc7305e0701c5d508702ae4b393d1c23f48 Mon Sep 17 00:00:00 2001 From: lanceyq <1982376970@qq.com> Date: Thu, 26 Mar 2026 18:30:59 +0800 Subject: [PATCH] [changes] New field added --- api/app/models/end_user_model.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/app/models/end_user_model.py b/api/app/models/end_user_model.py index a821680f..ff46786a 100644 --- a/api/app/models/end_user_model.py +++ b/api/app/models/end_user_model.py @@ -22,6 +22,14 @@ class EndUser(Base): created_at = Column(DateTime, default=datetime.datetime.now) updated_at = Column(DateTime, default=datetime.datetime.now, onupdate=datetime.datetime.now) + # 用户档案字段 - User Profile Fields + position = Column(String, nullable=True, comment="职位") + department = Column(String, nullable=True, comment="部门") + contact = Column(String, nullable=True, comment="联系方式") + phone = Column(String, nullable=True, comment="电话") + hire_date = Column(DateTime, nullable=True, comment="入职日期") + updatetime_profile = Column(DateTime, nullable=True, comment="核心档案信息最后更新时间") + memory_config_id = Column( UUID(as_uuid=True), ForeignKey("memory_config.config_id"),