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