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/Connected.Logistics.Documents/Receive/ReceiveDocument.cs

25 lines
846 B

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