浏览代码

feat: add production and QC review columns on storage release model.

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 2 月之前
父节点
当前提交
b7e003220b
共有 1 个文件被更改,包括 12 次插入 和 0 次删除
  1. 12 0
      backend/app/models/models.py

+ 12 - 0
backend/app/models/models.py

@@ -1060,6 +1060,18 @@ class BizStorageReleaseReview(Base):
     review_by = Column(String(64), nullable=True, comment="审核人ID")
     review_by_name = Column(String(64), nullable=True, comment="审核人姓名")
     review_time = Column(DateTime, nullable=True, comment="审核时间")
+    qc_review_conclusion = Column(String(16), nullable=True, comment="质检侧结论 tg通过 btg不通过")
+    qc_review_remark = Column(String(512), nullable=True, comment="质检侧审核备注")
+    qc_review_attachments = Column(String(4000), nullable=True, comment="质检侧审核附件(逗号分隔URL)")
+    qc_review_by = Column(String(64), nullable=True, comment="质检侧审核人ID")
+    qc_review_by_name = Column(String(64), nullable=True, comment="质检侧审核人姓名")
+    qc_review_time = Column(DateTime, nullable=True, comment="质检侧审核时间")
+    prod_review_conclusion = Column(String(16), nullable=True, comment="生产侧结论 tg通过 btg不通过")
+    prod_review_remark = Column(String(512), nullable=True, comment="生产侧审核备注")
+    prod_review_attachments = Column(String(4000), nullable=True, comment="生产侧审核附件(逗号分隔URL)")
+    prod_review_by = Column(String(64), nullable=True, comment="生产侧审核人ID")
+    prod_review_by_name = Column(String(64), nullable=True, comment="生产侧审核人姓名")
+    prod_review_time = Column(DateTime, nullable=True, comment="生产侧审核时间")
     storage_status = Column(String(16), nullable=False, default="drk", comment="入库状态 drk待入库 yrk已入库")
     storage_by = Column(String(64), nullable=True, comment="入库操作人ID")
     storage_by_name = Column(String(64), nullable=True, comment="入库操作人姓名")