feat(annotation): 添加标注项目文件快照功能

- 新增 LabelingProjectFile 模型用于存储标注项目的文件快照
- 在创建标注项目时记录关联的文件快照数据
- 更新查询逻辑以基于项目快照过滤文件列表
- 优化导出统计功能使用快照数据进行计算
- 添加数据库表结构支持项目文件快照关系
This commit is contained in:
2026-01-30 18:10:13 +08:00
parent 3c3ca130b3
commit 8b2a19f09a
7 changed files with 145 additions and 33 deletions

View File

@@ -14,7 +14,8 @@ from .user_management import (
from .annotation_management import (
AnnotationTemplate,
LabelingProject,
AnnotationResult
AnnotationResult,
LabelingProjectFile
)
from .data_evaluation import (
@@ -32,6 +33,7 @@ __all__ = [
"AnnotationTemplate",
"LabelingProject",
"AnnotationResult",
"LabelingProjectFile",
"EvaluationTask",
"EvaluationItem",
]