awaiting-disposition-header-attachment-id
This commit is contained in:
@ -8,7 +8,7 @@ public record Cleans(
|
||||
// [property: JsonPropertyName("cleanTools")] object[] cleanTools
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(Cleans))]
|
||||
public partial class CleansSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ public record Inspection(
|
||||
// [property: JsonPropertyName("backSide")] BackSide BackSide
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(Inspection))]
|
||||
public partial class InspectionSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ public record ProdSpec(
|
||||
[property: JsonPropertyName("prsStages")] PrsStage[] PrsStages
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(ProdSpec))]
|
||||
public partial class ProdSpecSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ public record ProdSpecRoot(
|
||||
// [property: JsonPropertyName("_class")] string Class
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(ProdSpecRoot))]
|
||||
public partial class ProdSpecRootSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ public record PrsStage(
|
||||
[property: JsonPropertyName("qaMetTests")] QaMetTest[] QaMetTests
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(PrsStage))]
|
||||
public partial class PrsStageSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ public record QaMetTest(
|
||||
[property: JsonPropertyName("sequence")] string Sequence
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(QaMetTest))]
|
||||
public partial class QaMetTestSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -14,5 +14,6 @@ public interface IAwaitingDispoController<T>
|
||||
T Index();
|
||||
T MarkAsReviewed(long headerid, int tooltypeid);
|
||||
T MarkAsAwaiting(long headerid, int tooltypeid);
|
||||
T GetHeaderAttachmentID(int toolTypeId, long headerid);
|
||||
|
||||
}
|
@ -7,7 +7,7 @@ public record Surfscan(
|
||||
[property: JsonPropertyName("surfscanRecipes")] SurfscanRecipe[] SurfscanRecipes
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(Surfscan))]
|
||||
public partial class SurfscanSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ public record SurfscanRecipe(
|
||||
[property: JsonPropertyName("sampleSize")] int? SampleSize
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(SurfscanRecipe))]
|
||||
public partial class SurfscanRecipeSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
|
Reference in New Issue
Block a user