using Connected.Annotations; using Connected.Common.Documents; using Connected.Entities.Annotations; using Connected.Logistics.Types; namespace Connected.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; } }