using Common.Documents; using Connected.Annotations; using Connected.Entities.Annotations; using Logistics.Types; namespace Logistics.Documents.Receive; /// [Table(Schema = Domain.Code)] internal sealed record ReceiveDocument : Document, IReceiveDocument { public const string EntityKey = $"{Domain.Code}.{nameof(ReceiveDocument)}"; /// [Ordinal(1), Nullable] public int? Supplier { get; init; } /// [Ordinal(2), Nullable] public DateTimeOffset? ReceiveDate { get; init; } /// public int ItemCount { get; init; } /// public int OpenItemCount { get; init; } }