Files
OrpaonVision/OrpaonVision.Core/Annotation/Contracts/AnnotationTaskDetailDto.cs
2026-04-06 22:04:05 +08:00

45 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using OrpaonVision.Core.Enums;
namespace OrpaonVision.Core.Annotation.Contracts;
/// <summary>
/// 标注任务详情 DTO。
/// </summary>
public sealed class AnnotationTaskDetailDto
{
/// <summary>
/// 平台类型(当前固定为 Cvat
/// </summary>
public AnnotationPlatformEnum Platform { get; init; } = AnnotationPlatformEnum.Cvat;
/// <summary>
/// CVAT 任务 ID。
/// </summary>
public long CvatTaskId { get; init; }
/// <summary>
/// CVAT 任务名称。
/// </summary>
public string TaskName { get; init; } = string.Empty;
/// <summary>
/// CVAT 项目 ID。
/// </summary>
public long? CvatProjectId { get; init; }
/// <summary>
/// CVAT 任务状态。
/// </summary>
public string TaskStatus { get; init; } = string.Empty;
/// <summary>
/// 任务内图像或条目数量。
/// </summary>
public int ItemCount { get; init; }
/// <summary>
/// 最近更新时间UTC
/// </summary>
public DateTime? UpdatedAtUtc { get; init; }
}