JsonElement instead of Request body Attachment Class Bump Ready to test GetLastGroupIdWithValue Changed to v4
17 lines
646 B
C#
17 lines
646 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace OI.Metrology.Shared.Models;
|
|
|
|
public record Attachment(string? SubGroupId,
|
|
long? HeaderId,
|
|
string? HeaderIdDirectory,
|
|
string? UniqueId,
|
|
string? DestinationFileName,
|
|
string? SourceFileName,
|
|
string? AttachmentId);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
|
|
[JsonSerializable(typeof(Attachment))]
|
|
public partial class AttachmentSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
} |