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, String
|
||||
from sqlalchemy.orm import Mapped, mapped_column
|
||||
|
||||
from fastapi_common.fastapi_common_web.models import BaseModel
|
||||
|
||||
|
||||
class LeauditCrossReviewTaskMember(BaseModel):
|
||||
"""交叉评查任务成员表。"""
|
||||
|
||||
__tablename__ = "leaudit_cross_review_task_members"
|
||||
|
||||
Id: Mapped[int] = mapped_column("id", BigInteger, primary_key=True, autoincrement=True)
|
||||
taskId: Mapped[int] = mapped_column("task_id", BigInteger, comment="任务ID")
|
||||
userId: Mapped[int] = mapped_column("user_id", BigInteger, comment="用户ID")
|
||||
memberRole: Mapped[str] = mapped_column("member_role", String(32), default="participant", comment="participant/principal")
|
||||
Reference in New Issue
Block a user