19 lines
758 B
C#

using System.Text.Json.Serialization;
namespace OI.Metrology.Shared.Models;
public record PrsStage(
[property: JsonPropertyName("keyId")] string KeyId,
[property: JsonPropertyName("psn")] int Psn,
[property: JsonPropertyName("stage")] string Stage,
[property: JsonPropertyName("cleans")] Cleans Cleans,
[property: JsonPropertyName("inspection")] Inspection Inspection,
[property: JsonPropertyName("surfscan")] Surfscan Surfscan,
[property: JsonPropertyName("qaMetTests")] QaMetTest[] QaMetTests
);
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
[JsonSerializable(typeof(PrsStage))]
public partial class PrsStageSourceGenerationContext : JsonSerializerContext
{
}