完成项目推理模块的接口测试
This commit is contained in:
@ -11,15 +11,15 @@ class ProjectDetect(BaseModel):
|
||||
__tablename__ = "project_detect"
|
||||
__table_args__ = ({'comment': '项目推理集合'})
|
||||
|
||||
project_id: Mapped[int] = mapped_column(Integer, nullable=False)
|
||||
detect_name: Mapped[str] = mapped_column(String(64), nullable=False)
|
||||
project_id: Mapped[int] = mapped_column(Integer)
|
||||
detect_name: Mapped[str] = mapped_column(String(64))
|
||||
detect_version: Mapped[int] = mapped_column(Integer)
|
||||
detect_no: Mapped[str] = mapped_column(String(32))
|
||||
detect_status: Mapped[int] = mapped_column(Integer)
|
||||
file_type: Mapped[str] = mapped_column(String(10))
|
||||
folder_url: Mapped[str] = mapped_column(String(255))
|
||||
rtsp_url: Mapped[str] = mapped_column(String(255))
|
||||
user_id: Mapped[int] = mapped_column(Integer, nullable=False)
|
||||
folder_url: Mapped[str] = mapped_column(String(255), nullable=True)
|
||||
rtsp_url: Mapped[str] = mapped_column(String(255), nullable=True)
|
||||
user_id: Mapped[int] = mapped_column(Integer)
|
||||
|
||||
|
||||
class ProjectDetectFile(BaseModel):
|
||||
|
Reference in New Issue
Block a user