This commit is contained in:
2026-03-29 23:17:20 +08:00
commit 7dc5e73af7
36 changed files with 1480 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
namespace OrpaonVision.Model.Annotation;
/// <summary>
/// 数据集项模型(对应需求文档中的 mdl_dataset_item 关键字段)。
/// </summary>
public sealed class DatasetItemModel
{
/// <summary>
/// 主键。
/// </summary>
public long Id { get; set; }
/// <summary>
/// 数据集 ID。
/// </summary>
public long DatasetId { get; set; }
/// <summary>
/// 文件路径(图片或视频帧存储路径)。
/// </summary>
public string FilePath { get; set; } = string.Empty;
/// <summary>
/// 文件名。
/// </summary>
public string FileName { get; set; } = string.Empty;
/// <summary>
/// 宽度。
/// </summary>
public int? Width { get; set; }
/// <summary>
/// 高度。
/// </summary>
public int? Height { get; set; }
/// <summary>
/// 标注状态。
/// </summary>
public int AnnotationStatus { get; set; }
/// <summary>
/// 质量状态。
/// </summary>
public int QualityStatus { get; set; }
/// <summary>
/// 文件哈希。
/// </summary>
public string? HashValue { get; set; }
/// <summary>
/// 扩展字段JSON
/// </summary>
public string? ExtraJson { get; set; }
/// <summary>
/// 创建时间。
/// </summary>
public DateTime CreatedAt { get; set; }
/// <summary>
/// 创建人。
/// </summary>
public string? CreatedBy { get; set; }
/// <summary>
/// 更新时间。
/// </summary>
public DateTime? UpdatedAt { get; set; }
/// <summary>
/// 更新人。
/// </summary>
public string? UpdatedBy { get; set; }
}