版本260406

This commit is contained in:
2026-04-06 22:04:05 +08:00
parent 7dc5e73af7
commit 0b150470be
216 changed files with 98993 additions and 33 deletions

View File

@@ -0,0 +1,52 @@
namespace OrpaonVision.Core.Configuration.Contracts;
/// <summary>
/// 规则版本信息。
/// </summary>
public sealed class RuleVersionDto
{
/// <summary>
/// 机种编码。
/// </summary>
public string ProductTypeCode { get; init; } = string.Empty;
/// <summary>
/// 规则版本号。
/// </summary>
public string VersionNo { get; init; } = string.Empty;
/// <summary>
/// 发布时间UTC
/// </summary>
public DateTime PublishedAtUtc { get; init; }
/// <summary>
/// 发布人。
/// </summary>
public string PublishedBy { get; init; } = string.Empty;
/// <summary>
/// 状态1=活跃0=停用。
/// </summary>
public int Status { get; init; } = 1;
/// <summary>
/// 是否已停用。
/// </summary>
public bool IsDisabled { get; init; }
/// <summary>
/// 停用时间UTC
/// </summary>
public DateTime? DisabledAtUtc { get; init; }
/// <summary>
/// 停用人。
/// </summary>
public string? DisabledBy { get; init; }
/// <summary>
/// 规则快照 JSON。
/// </summary>
public string SnapshotJson { get; init; } = string.Empty;
}