Path: redb-route/demo/SerialNumbersDemo/SerialNumbers.Domain/Entities/SerialNumberResponse.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/SerialNumberResponse.cs ---- using redb.Core.Attributes; using redb.Core.Models.Entities; namespace SerialNumbers.Domain.Entities; /// /// The answer to a request, as it is sent back. The individual serial numbers are rows of the /// serial_numbers table (a request can carry tens of thousands of them); an accepted response /// points at their allocation. /// [RedbScheme(Name = "SerialNumbers.Response")] public sealed class SerialNumberResponse { public string RequestId { get; set; } = ""; public string PartnerCode { get; set; } = ""; public string Gtin { get; set; } = ""; public bool Accepted { get; set; } /// One of when rejected. public string? RejectionReason { get; set; } public int Quantity { get; set; } /// The serial_allocations row the numbers of an accepted response belong to. public long? AllocationId { get; set; } public RedbObject? Request { get; set; } }