diff --git a/backend/app/models/pl_models.py b/backend/app/models/pl_models.py index 253ddd58e..6309a281d 100644 --- a/backend/app/models/pl_models.py +++ b/backend/app/models/pl_models.py @@ -69,6 +69,7 @@ class PlVehicle(Base): default_driver_name = Column(String(100), nullable=True, comment="默认司机姓名(冗余)") load_capacity = Column(DECIMAL(10, 2), nullable=True, comment="载重(吨)") vehicle_status = Column(String(20), nullable=False, default="available", comment="车辆状态 available-可用 maintaining-维修中 scrapped-报废") + photo_urls = Column(String(2000), nullable=True, comment="车辆照片URL,逗号分隔(默认1张)") tenant_no = Column(String(64), nullable=False, default="shanxia2.0", comment="租户编号") order_num = Column(Integer, nullable=True, comment="排序号") remark = Column(String(512), nullable=True, comment="备注") @@ -103,6 +104,7 @@ class PlPersonnel(Base): comment="人员归属 self-山峡 carrier-非山峡", ) status = Column(CHAR(1), nullable=False, default="1", comment="状态 1-在职 0-停用") + photo_urls = Column(String(2000), nullable=True, comment="人员照片URL,逗号分隔(默认1张)") tenant_no = Column(String(64), nullable=False, default="shanxia2.0", comment="租户编号") order_num = Column(Integer, nullable=True, comment="排序号") remark = Column(String(512), nullable=True, comment="备注")