using System; namespace GB5Shared.DTO.PubSub { /// /// Message published to the "ATTACHMENT-RESOLVE" Dapr topic. /// Triggers SP_RESOLVE_ATTACHMENTS_BATCH to link pending TATTACHMENT rows /// (OBJECTID=0, ROWGUID set) to their real entity PKs after the header is persisted. /// public class AttachmentResolveMessage { /// Tenant that owns the event — used to resolve the DB connection. public int TenantId { get; set; } /// TOUTBOX.OBJECTTYPEID — passed as @ObjectHeaderTypeId to the SP. public int ObjectHeaderTypeId { get; set; } /// TOUTBOX.HEADERROWGUID — passed as @HeaderRowGuid to the SP. public Guid HeaderRowGuid { get; set; } /// TOUTBOX.OBJECTID — the persisted entity PK, passed as @ObjectId to the SP. public int ObjectId { get; set; } /// W3C traceparent of the producer's publish span, so the subscriber can parent its consumer span onto the same trace. public string? TraceParent { get; set; } /// W3C tracestate accompanying . public string? TraceState { get; set; } } }