Path: redb-route/demo/SerialNumbersDemo/SerialNumbers.Domain/Entities/InboundMessage.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/demo/SerialNumbersDemo/SerialNumbers.Domain/Entities/InboundMessage.cs
----
using redb.Core.Attributes;
namespace SerialNumbers.Domain.Entities;
///
/// Every file a partner sent, whatever became of it. The raw bytes live in the file archive
/// (); this object is the record of what the hub made of them.
/// Nothing is ever deleted.
///
[RedbScheme(Name = "SerialNumbers.InboundMessage")]
public sealed class InboundMessage
{
public string PartnerCode { get; set; } = "";
public string Transport { get; set; } = "";
public string FileName { get; set; } = "";
/// The root element of the XML, when it could be read.
public string? MessageType { get; set; }
/// Path of the raw copy, relative to the archive root.
public string ArchivePath { get; set; } = "";
public DateTimeOffset ReceivedAt { get; set; }
/// One of .
public string Status { get; set; } = "";
/// Why the message was not processed, for Invalid and Parked messages.
public string? Error { get; set; }
}