namespace OrpaonVision.Core.Training.Contracts; /// /// 模型包摘要。 /// public sealed class ModelPackageSummaryDto { /// /// 模型包ID。 /// public Guid ModelPackageId { get; init; } /// /// 模型包名称。 /// public string Name { get; init; } = string.Empty; /// /// 模型包版本号。 /// public string VersionNo { get; init; } = string.Empty; /// /// 模型包描述。 /// public string Description { get; init; } = string.Empty; /// /// 机种编码。 /// public string ProductTypeCode { get; init; } = string.Empty; /// /// 训练算法类型。 /// public string AlgorithmType { get; init; } = string.Empty; /// /// 模型准确率。 /// public decimal Accuracy { get; init; } /// /// 模型召回率。 /// public decimal Recall { get; init; } /// /// 模型F1分数。 /// public decimal F1Score { get; init; } /// /// 模型包状态。 /// public ModelPackageImportStatus Status { get; init; } /// /// 是否已激活。 /// public bool IsActive { get; init; } /// /// 创建时间(UTC)。 /// public DateTime CreatedAtUtc { get; init; } /// /// 创建者。 /// public string CreatedBy { get; init; } = string.Empty; /// /// 激活时间(UTC)。 /// public DateTime? ActivatedAtUtc { get; init; } /// /// 激活者。 /// public string ActivatedBy { get; init; } = string.Empty; /// /// 模型包大小(字节)。 /// public long PackageSizeBytes { get; init; } /// /// 兼容性版本。 /// public string CompatibilityVersion { get; init; } = string.Empty; }