43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
namespace OrpaonVision.Core.Configuration.Contracts;
|
|
|
|
/// <summary>
|
|
/// 规则版本对比结果。
|
|
/// </summary>
|
|
public sealed class RuleVersionCompareDto
|
|
{
|
|
/// <summary>
|
|
/// 机种编码。
|
|
/// </summary>
|
|
public string ProductTypeCode { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 对比源版本号。
|
|
/// </summary>
|
|
public string SourceVersionNo { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 对比目标版本号。
|
|
/// </summary>
|
|
public string TargetVersionNo { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 源版本快照 JSON。
|
|
/// </summary>
|
|
public string SourceSnapshotJson { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 目标版本快照 JSON。
|
|
/// </summary>
|
|
public string TargetSnapshotJson { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 版本是否一致。
|
|
/// </summary>
|
|
public bool IsSame { get; init; }
|
|
|
|
/// <summary>
|
|
/// 对比摘要。
|
|
/// </summary>
|
|
public string Summary { get; init; } = string.Empty;
|
|
}
|