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/ReceivePlannedItem.cs

26 lines
881 B

2 years ago
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Connected.Logistics.Types;
2 years ago
namespace Connected.Logistics.Documents.Receive;
2 years ago
/// <inheritdoc cref="IReceivePlannedItem"/>
[Table(Schema = Domain.Code)]
internal sealed record ReceivePlannedItem : ConsistentEntity<long>, IReceivePlannedItem
{
public const string EntityKey = $"{Domain.Code}.{nameof(ReceivePlannedItem)}";
/// <inheritdoc cref="IReceivePlannedItem.Document"/>
[Ordinal(0), Index]
public int Document { get; init; }
/// <inheritdoc cref="IReceivePlannedItem.Item"/>
[Ordinal(1), Index]
public int Item { get; init; }
/// <inheritdoc cref="IReceivePlannedItem.Quantity"/>
[Ordinal(2)]
public float Quantity { get; init; }
/// <inheritdoc cref="IReceivePlannedItem.PostedQuantity"/>
[Ordinal(3)]
public float PostedQuantity { get; init; }
}