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.
26 lines
881 B
26 lines
881 B
using Connected.Annotations;
|
|
using Connected.Entities.Annotations;
|
|
using Connected.Entities.Consistency;
|
|
using Connected.Logistics.Types;
|
|
|
|
namespace Connected.Logistics.Documents.Receive;
|
|
/// <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; }
|
|
}
|