feat: migrate cross review to v3 leaudit flow
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"""LeAudit 交叉评查任务文档模型。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from sqlalchemy import BigInteger, Integer
|
||||
from sqlalchemy.orm import Mapped, mapped_column
|
||||
|
||||
from fastapi_common.fastapi_common_web.models import BaseModel
|
||||
|
||||
|
||||
class LeauditCrossReviewTaskDocument(BaseModel):
|
||||
"""交叉评查任务文档挂载表。"""
|
||||
|
||||
__tablename__ = "leaudit_cross_review_task_documents"
|
||||
|
||||
Id: Mapped[int] = mapped_column("id", BigInteger, primary_key=True, autoincrement=True)
|
||||
taskId: Mapped[int] = mapped_column("task_id", BigInteger, comment="任务ID")
|
||||
documentId: Mapped[int] = mapped_column("document_id", BigInteger, comment="文档ID")
|
||||
auditStatus: Mapped[int] = mapped_column("audit_status", Integer, default=0, comment="0=未完成,1=已完成")
|
||||
Reference in New Issue
Block a user