You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Logistics/Logistics.Documents/Receive/ReceivePostingDocument.cs

23 lines
751 B

2 years ago
using Common.Documents;
using Connected.Annotations;
using Connected.Entities.Annotations;
using Logistics.Types;
namespace Logistics.Documents.Receive;
/// <inheritdoc cref="IReceivePostingDocument"/>
[Table(Schema = Domain.Code)]
internal sealed record ReceivePostingDocument : Document<int>, IReceivePostingDocument
{
public const string EntityKey = $"{Domain.Code}.{nameof(ReceivePostingDocument)}";
/// <inheritdoc cref="IReceivePostingDocument.Document"/>
[Ordinal(0)]
public int Document { get; init; }
/// <inheritdoc cref="IReceivePostingDocument.OpenItemCount"/>
[Ordinal(1)]
public int OpenItemCount { get; init; }
/// <inheritdoc cref="IReceivePostingDocument.ItemCount"/>
[Ordinal(2)]
public int ItemCount { get; init; }
}